$result = dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid=$cid");
$result = dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid='$cid'");
$result1=dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid=$cid order by title limit $rows");
$result1=dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid='$cid' order by title limit $rows");
$result2 = dbquery("select * from ".$db_prefix."arcade_games WHERE cid=$data1[cid]");
$result2 = dbquery("select * from ".$db_prefix."arcade_games WHERE cid='$data1[cid]'");
$result9=dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid=$cid order by title limit $rows, $rows");
$result9=dbquery("select * from ".$db_prefix."arcade_cats WHERE status='1' AND parentid='$cid' order by title limit $rows, $rows");
$result0 = dbquery("select * from ".$db_prefix."arcade_games WHERE cid=$data9[cid]");
$result0 = dbquery("select * from ".$db_prefix."arcade_games WHERE cid='$data9[cid]'");
$cid
".intval($cid)."
<?
//@require_once "../../config.php";
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";
if (iMEMBER) {
include("header.php");
if (!$rowstart) $rowstart = 0;
opentable(ARC_0039);
$result = dbquery("select * from ".$db_prefix."arcade_cats WHERE status=1 ORDER BY name");
$rows = dbrows($result);
if ($rows!=0) {
$result = dbquery("select * from ".$db_prefix."arcade_cats WHERE status=1 ORDER BY name LIMIT ".$rowstart.",6");
echo '<table width="100%" cellpadding="0" cellspacing="1" class="tbl-border">
<tr>
<td align=center class="tbl2" width=25%><span class="small"><strong>'.ARC_0117.'</strong></td>
<td align=center class="tbl2" width=25%><span class="small"><strong>'.ARC_0118.'</strong></td>
<td align=center class="tbl2" width=25%><span class="small"><strong>'.ARC_0119.'</strong></td>
<td align=center class="tbl2" width=25%><span class="small"><strong>'.ARC_0120.'</strong></td>
</tr>
</table>';
$i = 0;
while($data = dbarray($result))
{
list($catsgames) = mysql_fetch_row( dbquery("SELECT COUNT(*) FROM ".$db_prefix."arcade_games WHERE cat = ".$data["id"]."") );
//list($catsgames) = mysql_fetch_row( dbquery("SELECT COUNT(*) FROM ".$db_prefix."arcade_cats,".$db_prefix."arcade_games WHERE ".$db_prefix."arcade_cats.id = ".$db_prefix."arcade_games.cat") );
echo "<table width='100%' cellspacing='1' cellpadding='' class='tbl-border'>
<tr>
<td align='center' class='tbl1' width=25%><img src='".INFUSIONS."arcade2/uploads/category/".$data[thumb]."'></td>
<td align='center' class='tbl1' width=25%><a href='".INFUSIONS."arcade2/cats.php?id=".$data[id]."'><b>".$data[name]."</b></a></td>
<td align='center' class='tbl1' width=25%><span class='small'>".$data[description]."</span></td>
<td align='center' class='tbl1' width=25%><span class='small'>(<b>".$catsgames."</b>)</span></td>
</tr>
</table>";
}
if ($rows>1) echo "<div align='center' style='margin-top:5px;'>".makePageNav($rowstart,6,$rows,3)."</div>\n";
}
closetable();
echo '<span class="small"><b>'.VER_0000.'</b></span>';
} else {
opentable("Zugriff verweigert");
echo "<br><center><img src='".INFUSIONS."arcade2/images/restricted.gif'><br><br>Du hast keine Berechtigung als Gast diesen Bereich zu betreten.<br>Falls Du schon registriertes Mitglied bist, kannst Du Dich rechts über die <b>LOGIN</b> Box einloggen.<br><br>Ansonsten nutze eine der folgenden, vorhandenen Optionen:
<br><br><b><br><br><img src='".THEME."images/bullet.gif'><a href='".BASEDIR."register.php'> Kostenlos Registrieren </a><img src='".THEME."images/bulletb.gif'><br><br><img src='".THEME."images/bullet.gif'><a href='".BASEDIR."lostpassword.php'> Passwort verloren </a><img src='".THEME."images/bulletb.gif'></b></center>";
closetable();
}
include("footer.php");
?>
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions