Kopanelde gm listesini Nasıl gösterebilirim

Cevap: Kopanelde gm listesini Nasıl gösterebilirim

bu verdiğimi editle biraz bir on of gif resmi bul birde setting php vardır mutlaka bu sayfa setting.php ile aynı klasörde olacaksa include ("../Settings.php "); deki ../ işaretlerini sil eğer bir üst klasöründeyse include ("../Settings.php "); böylece kalsın

PHP:
<html>
<BODY BGCOLOR="#000000" TEXT="#F8EBD3" LINK="#F8Ecda" VLINK="#F8Ecda" ALINK="#F8Ecda">
<font face="georgia">
<Center><font color= #ffffcc><a href="http://www.Crashko.com/mini/index.html"target="_self"><font size= 3><b><font face="georgia">Homepage</b></font></a>
<title>Crashko Online GM</title>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<p>
<font color= #ffffcc>Online GM List :</span><br />
           <p>
<font color= #ffffff>
              <? 


include ("../Settings.php ");
$connect = odbc_connect("$dbname", "$dbuser", "$dbpass") or die("Sql Servera baglanilamiyor, odbc_error()");
$query=odbc_exec($connect,"select strUserId from userdata where authority = '0'");
echo ("<b>GM List<br><p>");

while (odbc_fetch_row($query)) {
$GMNick = odbc_result($query,1);
$GMCheckOnline = odbc_exec($connect,"select strcharid from currentuser where strcharid = '".$GMNick."'");
$GMOnlineResult = odbc_result($GMCheckOnline,1);

if(empty($GMOnlineResult))

   { echo $GMNick ."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;&nbsp;&nbsp;<img src=image/offline.png>  \n<br>";} else { echo $GMNick ."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;&nbsp;&nbsp;<img src=image/online.png> \n<br>";}

}
?>
</body>
</html>
 
Geri
Üst Alt