Parašė FanatiC· 2009 Bal. 23 20:04:52
#1
Sveiki,galit padeti? Kai paspaudziu kuria nors is kategoriju siuntiniu mane ismeta nei downloads.php?cat_id=1 o i news.php?cat_id=1 akis skauda tai nerandu klaidos kur yra gal glait padeti?
if (!isset($cat_id)) {
openside("Muzikos Kategorijos");
$result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
$rows = dbrows($result);
if ($rows != 0) {
$counter = 0; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
echo "
<img src='http://mp3zone.wu.lt/images/Paveiksleliai/Muzkos%20Folder.png'> <a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'></span>";
echo "<br>" ;
$counter++;
}
echo "";
} else {
echo "<center><br>\n".$locale['430']."<br><b><br></center>\n";
}
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,5"));
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<br> <img src='http://feelsound.lt/images/folder.png'> Siuntiniu: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
echo " <img src='http://feelsound.lt/images/folder.png'> Atsisiusta: [".dbresult($result, 0)."]<br><br><b><center>Muzikos Paieska:
<form name='search' action='search.php?stype=n' method='post'>
<div align='center' class='search'>
<input type='text' class='inputbox' name='stext' value='' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='') this.value='';\">
<br>
<input type='submit' name='option' value='Ieškoti siuntinio'></div></form></div></td>";
closeside();
}
Redagavo FanatiC· 2009 Bal. 23 20:04:08
Parašė Langas· 2009 Bal. 23 21:04:03
#4
if (!isset($cat_id)) {
openside("Muzikos Kategorijos");
$result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
$rows = dbrows($result);
if ($rows != 0) {
$counter = 0; $columns = 2;
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "";
$num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
echo "
<img src='http://mp3zone.wu.lt/images/Paveiksleliai/Muzkos%20Folder.png'> <a href='".FUSION_SELF."downloads.php?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'></span>";
echo "<br>" ;
$counter++;
}
echo "";
} else {
echo "<center><br>\n".$locale['430']."<br><b><br></center>\n";
}
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,5"));
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<br> <img src='http://feelsound.lt/images/folder.png'> Siuntiniu: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
echo " <img src='http://feelsound.lt/images/folder.png'> Atsisiusta: [".dbresult($result, 0)."]<br><br><b><center>Muzikos Paieska:
<form name='search' action='search.php?stype=n' method='post'>
<div align='center' class='search'>
<input type='text' class='inputbox' name='stext' value='' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='') this.value='';\">
<br>
<input type='submit' name='option' value='Ieškoti siuntinio'></div></form></div></td>";
closeside();
}
Prašom
Redagavo Langas· 2009 Bal. 23 21:04:14