Recommended Sites
"; $j=1; } if($j>0) { $i=0; $catid1=$fetchsiteidrow->catid; $fetchcatq1="select catId,catName from tblcategorymaster where parentId=$catid1 and status=1"; $fetchcatrs1=mysql_query($fetchcatq1) or die("Query failed".mysql_error()); $newurl="resources/page1/" . str_replace(" ","-",strtolower($fetchsiteidrow->catName)) . ".html"; //$colsp=mysql_num_rows($fetchcatrs1)+1; if(mysql_num_rows($fetchcatrs1)>0) { echo ""; $j++; } if($j==3) { echo ""; $j=0; } } echo "
Please visit our recommended Sites!
$fetchsiteidrow->catName
"; } else { echo "
$fetchsiteidrow->catName
"; } find($catid1,$i); echo "
"; } function find($catid1,$i) { include_once("/home/voipdir/public_html/resources/connection.php"); $fetchcatq="select catId,catName from tblcategorymaster where parentId=$catid1 and status=1"; $fetchcatrs=mysql_query($fetchcatq) or die("Query failed".mysql_error()); if(mysql_num_rows($fetchcatrs)>0) { $i=$i+1; while($fetchcatrow=mysql_fetch_object($fetchcatrs)) { echo ""; for($j=0;$j<$i;$j++) { echo "-"; } $newurl="links/links" .$fetchcatrow->catId . ".html"; echo " $fetchcatrow->catName
"; find($fetchcatrow->catId,$i); } } else { $i=1; } } function links($catid,$page,$url) { $cn_opinion=mysql_connect("204.2.35.179","search","search0"); mysql_select_db("dbsearchindex",$cn_opinion); $fetchcatq="select catName from tblcategorymaster where catId=$catid"; $fetchcatrs=mysql_query($fetchcatq,$cn_opinion) or die("Query Failed".mysql_error()); $fetchcatrow=mysql_fetch_object($fetchcatrs); $homeurl=$HTTP_SERVER_VARS['HTTP_HOST']; $splithomeurl=explode(".",$homeurl); $homeurl=$splithomeurl[0] . "." . $splithomeurl[1] . "." . $splithomeurl[2]; ?>
Home > Web Resources > catName))?>.html" class="url1">catName;?>
0) { $limit=10; $pager = Pager::getPagerData($numrow, $limit, $page); $offset = $pager->offset; $limit = $pager->limit; $page = $pager->page; $fetchlinkq = $fetchlinkq." LIMIT $offset, $limit"; $fetchlinkrs = mysql_query($fetchlinkq) or die("Query failed3".mysql_error()); while($fetchlinkrow=mysql_fetch_object($fetchlinkrs)) { ?>
catName;?>
linkName;?>
description;?>
linkUrl;?>
Helpfull Web Sites will be available soon
0) { ?>
Page:
catId; return $catId; } function fetchmeta($catname,$siteid) { //Note: use corresponding path, If you have inc file on other website include_once("/home/voipdir/public_html/resources/connection.php"); $string = ereg_replace('-',' ', $catname); $fetchcatq="select description,metaDes,metaKeyword from tblcategorymaster where lower(catName)=lower('$string') and siteId=$siteid"; $fetchcatrs=mysql_query($fetchcatq) or die("Query Failed4".mysql_error()); $fetchcatrow=mysql_fetch_object($fetchcatrs); $title=$fetchcatrow->description; $des=$fetchcatrow->metaDes; $key=$fetchcatrow->metaKeyword; return $title ."*" . $des . "*" . $key; } ?>