fadvhgkudsi']); } $stabsty=mysql_query("select * from setextra where id=16"); $rtabsty=mysql_fetch_row($stabsty); echo ""; if($rtabsty[2]=='grey') { echo ""; $btcolor="#ACACAC"; } elseif($rtabsty[2]=='red') { echo ""; $btcolor="#9C4B43"; } else { echo ""; $btcolor="#BAD18F"; } echo ""; echo "
"; echo ""; echo "
\n"; block_l(); echo" "; //do_html_1(); a3lan_def_up(); ads("||index"); // stop increase by refresh if (isset($_COOKIE["visitingindex"])) { $visit_cook_val = $_COOKIE["visitingindex"]; } if($visit_cook_val == 1) { $visit_cook_val = 1; $expire=time()+60*10; $visit_cook= "visitingindex"; setcookie($visit_cook, $visit_cook_val , $expire); } else { mysql_query("UPDATE cat SET counter=counter+1 where catid='1' "); $visit_cook_val = 1; $expire=time()+60*10; $visit_cook= "visitingindex"; setcookie($visit_cook, $visit_cook_val , $expire); } //end stop increase by refresh $i=1; echo" \n"; echo" \n"; $w=mysql_query('select * from block where rtl=3 and showcat=1 order by ratteb asc'); $quranyy =qurany (); if($quranyy) { islamy($quranyy); } while($rows=mysql_fetch_row($w)) { $rows[4]=stripslashes($rows[4]); if($rows[0]==8) { block_new_jwal(); $teble=$new_jwal; } else { $block= substr($rows[4],0,5); if($block=="block") { $blockpl=substr($rows[4],5,3); $catid= substr($rows[4],8,3); $com2=substr($rows[4],11,3); $title=substr($rows[4],14,2); $yes=substr($rows[4],16,2); $wss=mysql_query("select * from cat where catid='$catid' "); while($rowss=mysql_fetch_row($wss)) { $orderby="ctid=$catid"; $row22222= explode ("||" ,$rowss[7]); $cat_url=basename("$row22222[0]",".php"); $numtable=$rowss[10]; $numcat=$rowss[9]; include('lag.php'); $play_name="play_name_".$cat_url; $play_name=$$play_name; if(!$cat_url) { $wsss=mysql_query("select * from cat where catid='$rowss[2]' "); while($rowssa=mysql_fetch_row($wsss)) { $orderby="ctid2=$catid"; $row22222= explode ("||" ,$rowssa[7]); $cat_url=basename("$row22222[0]",".php"); $numtable=$rowssa[10]; $numcat=$rowssa[9]; if(!$cat_url) { $wsss=mysql_query("select * from cat where catid='$rowssa[2]' "); while($rowssa=mysql_fetch_row($wsss)) { $orderby="catid=$catid"; $row22222= explode ("||" ,$rowssa[7]); $cat_url=basename("$row22222[0]",".php"); $numtable=$rowssa[10]; $numcat=$rowssa[9]; } } } } } if($catid==1) { $cat_url="blocks"; } $plays_name="plays_name_".$cat_url; $plays_name=$$plays_name; if($blockpl=="pla") { if($com2=="new") { $comd=" order by id desc"; } elseif($com2=="cun") { $comd="order by counter desc"; } else { $comd=" order by rand()"; } $i=1; if($catid==17||$catid==18||$catid==19||$catid==20||$catid==21||$catid==22) { Eval("\$test5= \"".get("jwal/playup")."\";"); $blockks=$test5; $wa=mysql_query("select * from play where ctid2='$catid' and ctid2!='10000000' $comd limit $title"); } else { if(!file_exists("cat/$cat_url/playupindex.html")) { Eval("\$test5= \"".get("$cat_url/playup")."\";"); } else { Eval("\$test5= \"".get("$cat_url/playupindex")."\";"); } $blockks=$test5; $wa=mysql_query("select * from play where $orderby and ctid2!='10000000' $comd limit $title"); } while($row=mysql_fetch_row($wa)) { if($row[9]==4 || $row[9]==23){$nomb=$row[3];}else{$nomb=$row[4];} if($nomb=='') { $row[100]=''; $sima=mysql_query("select * from setting where id='3'"); while($rrma=mysql_fetch_row($sima)) {$defimage=$rrma[1];} if($cat_url=='flash' || $cat_url=='video' || $defimage=='no-pic') { $row[99]='1'; $row[102]=''; } else{$row[99]='0';} } else{$row[99]='1';} $waaa=mysql_query("select * from cat where catid='$row[9]' "); while($rowss=mysql_fetch_row($waaa)) { $catsname=$rowss[1]; } $waaa=mysql_query("select * from cat where catid='$row[1]' "); while($rowss=mysql_fetch_row($waaa)) { $catname=$rowss[1]; } if($_SESSION['admin']) { $edit=" "; } ///alola $qlink=mysql_query("select * from linkat where catsmktba='{$row[0]}' and visible != 2 ORDER BY `order` ASC "); if(mysql_num_rows($qlink)>0) { while($linkrow=mysql_fetch_array($qlink)) { $target_link_ext = target_link($linkrow[4]); $indirlink = convert_urlp6($linkrow[0],$linkrow[4]); $linkrow4 =trim( strtolower($linkrow[4])); $extension = substr(strrchr($linkrow4, '.'), 1); if((($extension == "rm" || $extension=="rpm") &&$linkrow[8]=="" )||$linkrow[8]=="rmplayer") { $viewlink .="    "; } elseif((( $extension == "mp3" || $extension == "wma" ) &&$linkrow[8]=="" ) ||$linkrow[8]=="mp3player") { $viewlink .="    "; } elseif( (($extension == "png"|| $extension == "gif"|| $extension == "jpg"|| $extension == "jpeg"|| $extension == "bmp"|| $extension == "tif"|| $extension == "tiff" ) &&$linkrow[8]=="" ) ||$linkrow[8]=="image") { $viewlink .="    "; } elseif((($extension == "ram" || $extension == "rmvb" || $extension == "ra" || $extension == "3gp" ||strstr($linkrow4,'www.way2allah.com') ) &&$linkrow[8]=="" ) ||$linkrow[8]=="rlplayer") { $viewlink .="    "; } elseif( (( $extension == "avi" || $extension == "wmv" || $extension == "mp2" || $extension == "mp4"|| $extension == "asf" || $extension == "ogv" || $extension == "asf" || $extension == "aac" || $extension == "mpg"|| $extension == "mpeg" ) &&$linkrow[8]=="" )||$linkrow[8]=="mdplayer") { $viewlink .="    "; } elseif(((strstr($linkrow4,'video.google.com')) && $linkrow[8]=="" ) ||$linkrow[8]=="glplayer" ) { $viewlink .="    "; } elseif(((strstr($linkrow4,'www.youtube.com')) && $linkrow[8]=="" ) ||$linkrow[8]=="ytplayer" ) { $viewlink .="    "; } elseif( (($extension == "flv" ) && $linkrow[8]=="" )||$linkrow[8]=="flvplayer" ) { $viewlink .="    "; } elseif(( $extension == "swf" && $linkrow[8]=="") || $linkrow[8]=="swfplayer" ) { $viewlink .="    "; } elseif($linkrow[8]=="word") { $viewlink .="    "; } else { $viewlink .=""; } $newlink =" ". $viewlink ." " ; } } else { $newlink = NULL ; } $viewlink =null; if($row[3]==''){$row[110]='-';} if($row[6]=='' || $row[3]==$row[6]){$row[112]='-';} $urlcom=$row[6]; if($row[9]==4 || $row[9]==23){$nomb=$row[3];}else{$nomb=$row[4];} if($nomb=='') { $row[100]=''; $sima=mysql_query("select * from setting where id='3'"); while($rrma=mysql_fetch_row($sima)) {$defimage=$rrma[1];} if($cat_url=='flash' || $cat_url=='video' || $defimage=='no-pic') { $row[99]='1'; $row[102]=''; } else{$row[99]='0';} } else{$row[99]='1';} ///alola $targeplayindex")."\";"); } } $blockks.= $test1; if($i%$numtable==0) $blockks.= ""; $i++; } if($dir=="rtl"){$alignrr="right";$spc="  ";}else{$alignrr="left";} $blockks .= "
"; // convert new site $qautoreturn1 = mysql_query("select * from satting where catid =$catid limit 1"); while ($row_autoreturn1 = mysql_fetch_row($qautoreturn1)){ $autoreturn1 = $row_autoreturn1[9]; $showcomment = $row_autoreturn1[10]; $showabc = $row_autoreturn1[11]; $visitoraligncat =$row_autoreturn1[12]; $visitorshowcat = $row_autoreturn1[13]; $visitoralignplay =$row_autoreturn1[14]; $visitorshowplay = $row_autoreturn1[15]; $showtree=$row_autoreturn1[16]; $showrate=$row_autoreturn1[17]; $newmore=$row_autoreturn1[18]; $newmorecount=$row_autoreturn1[19]; } if($newmore == 2) { $blockks .=" "; } else { $blockks .=" "; } $teble=$blockks; } elseif($blockpl=="cat") { $i=1; $blockcat= " "; $wi=mysql_query("select * from cat where parentcatid='$catid' "); if($catid==1) { $wi=mysql_query("select * from cat where parentcatid='1' and showcat='1' and cat!=3 and cat!=4 order by ratteb asc "); } while($row1=mysql_fetch_row($wi)) { $blockcat.= ""; if($i%$numcat==0) $blockcat.= ""; $i++; } $blockcat.="
"; if($htmlorphp==1) { $urlcat="catplay-$row1[0].html"; } else { $urlcat="catplay.php?catsmktba=$row1[0]"; } $ss=("select * from play WHERE ctid2='$row1[0]' "); $www=mysql_query($ss); $teet=mysql_num_rows($www); if(!$row1[7]) { $imagecat="images/cat/$cat_url.gif"; } else { $imagecat="$row1[7]"; } $sql1a = mysql_query("select * from play where catid='$row1[0]' and ctid2!='10000000' order by id desc limit 1"); while($rowte=mysql_fetch_row($sql1a)) { $datath=$rowte[8]; } Eval("\$test1s= \"".get("$cat_url/cat")."\";"); $blockcat.= $test1s; $blockcat.= "
"; $teble=$blockcat; } } else { $teble=$rows[4]; } } $wwws=mysql_query("select * from block where rtl=3 and showcat=1 and ratteb=$rows[3] order by ratteb asc"); $teets=mysql_num_rows($wwws); $swl3=mysql_query("select * from block where tab!='' and ratteb=$rows[3] order by catid asc limit 1"); $rwl3=mysql_fetch_row($swl3); if($rows[7]!='') { if($rwl3[0]==$rows[0]) { echo "
"; echo "
"; } } else { if($teets==2) { if($rowssss==0) { echo "
"; echo " "; $rowss=1; $rowssss=1; } } echo "
"; } if($rows[7]!='') { echo "
    "; $swl=mysql_query("select * from block where tab!='' and ratteb=$rows[3] order by catid"); while($rwl=mysql_fetch_row($swl)) { $swl2=mysql_query("select * from block where tab!='' and ratteb=$rows[3] order by catid asc limit 1"); $rwl2=mysql_fetch_row($swl2); if($rwl2[0]==$rows[0]) { echo "
  • $rwl[1]
  • "; } } echo "
"; echo "
$teble $width
"; echo ""; } else { do_html_2("$rows[1]","$teble $width","index",'',$rows[0]); } $swl4=mysql_query("select * from block where tab!='' and ratteb=$rows[3] order by catid desc limit 1"); $rwl4=mysql_fetch_row($swl4); if($rows[7]