0)) { $start = 0; } $eu = ($start - 0); $limit = $Num; $max_columns = 3; $this1 = $eu + $limit; $back = $eu - $limit; $next = $eu + $limit; $query="SELECT * FROM $tab WHERE $fild='$id' and status='1' order by ordering"; $result=mysql_query($query); echo mysql_error(); $nume=mysql_num_rows($result); $row = mysql_fetch_array($result); $sql2="SELECT * FROM $Page WHERE id='$id'"; $res2=mysql_query($sql2); $numrows2 = mysql_num_rows($res2); $rowres2 = mysql_fetch_array($res2); $keywords= $rowres2[keysword]; $description= $rowres2[description]; $title=$rowres2[title]; $sql1="SELECT id,title,section FROM publishers WHERE id='$rowres2[publisher]'"; $res1=mysql_query($sql1); $rowres1 = mysql_fetch_array($res1); $sqlS=mysql_query("SELECT * FROM sections WHERE id='$rowres1[section]'") or die(mysql_error()); $rowS=mysql_fetch_array($sqlS); include"SiteHeader.php"; echo"
$rowS[section] -
دور النشر -
$rowres1[title] -
$rowres2[title]
"; include "skin/TitleHeader.php"; echo"
$rowres2[title]

$rowres2[description]
كلمات مفتاحية :
$rowres2[keysword]

"; include "skin/TitleFooter.php"; echo"
"; include "skin/PanelHeader.php"; if ($nume==0){ echo"
لم يتم إضافة أي سجلات بعد
"; include "skin/PanelFooter.php"; } else{ echo""; ///// end paging if(isset($column_name) and strlen($column_name)>0){ $query = $query . " order by order"; } $query = $query. " limit $eu, $limit "; $result=mysql_query($query); echo mysql_error(); if($result && mysql_num_rows($result) > 0) { $i = 0; while($row = mysql_fetch_array($result)) { extract($row); if($i == 0) echo ""; if($id != "" && $id != null) $sqlR=mysql_query("SELECT SUM(rating_num)AS rating_num,Count(*) AS Count FROM ratings WHERE rating_id='$id'") or die(mysql_error()); $rowR=mysql_fetch_array($sqlR); if ($rowR[rating_num] =="") { $rowR[rating_num]=0; } if ( $rowR[rating_num] >0 && $rowR[Count] >0) { $splitting = $rowR[rating_num]/$rowR[Count]; } if ($rowR[rating_num]==0){ $img= ""; } else if ($splitting >= 1 && $splitting <= 5){ $img= ""; } else if ($splitting >= 6 && $splitting <= 10){ $img= ""; } else if ($splitting >= 11 && $splitting <= 15){ $img= ""; } else if ($splitting >= 16 && $splitting <= 20){ $img= ""; } else if ($splitting >= 21 && $splitting <= 25){ $img= ""; } else if ($splitting >= 26 && $splitting <= 30){ $img= ""; } else if ($splitting >= 31 && $splitting <= 35){ $img= ""; } else if ($splitting >= 36 && $splitting <= 40){ $img= ""; } else if ($splitting >= 41 && $splitting <= 45){ $img= ""; } else if ($splitting >= 46 && $splitting <= 50){ $img= ""; } echo ""; if(++$i == $max_columns) { echo ""; $i=0; } // end if } // end while } // end if results if($i < $max_columns) { for($j=$i; $j<$max_columns;$j++) echo ""; } ///// next back bar ?>
عدد النتائج في الصفحة : $nume
";/// paging if($back >=0) { print "السابق "; } $i=0; $l=1; for($i=0;$i < $nume;$i=$i+$limit){ if($i <> $eu){ echo " | $l "; } else { echo "$l ";} $l=$l+1; } if($this1 < $nume) { print "التالي
";} echo "
$title
$title


$img
التقييمات :$rowR[rating_num]
الزيارات :$row[counter]
الأقســام الرئيسية
الصفحة الرئيسية
قائمة المجلات
قائمة القصص
التحليلات الأدبية

قصص عشوائية
الاحصائيــات

Warning: include(/var/www/html/list/inc/Connect.php): failed to open stream: No such file or directory in /var/www/html/phpbb3/list/counter/_functions.php on line 2

Warning: include(): Failed opening '/var/www/html/list/inc/Connect.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/phpbb3/list/counter/_functions.php on line 2
Incorrect integer value: '' for column 'id' at row 1