0) { $row_category = mysql_fetch_array($res_category); //$iDdev=$id; if(!isset($_SESSION["cat_id"])) { session_start(); $_SESSION["cat_id"] = array(); } $maincat_id=$row_category["Category_Id"]; include("./export/export_subcat.php"); } else if(mysql_num_rows($res_categorya)>0) { $res_categorya = mysql_fetch_array($res_categorya); //$iDdev=$id; if(!isset($_SESSION["cat_id"])) { session_start(); $_SESSION["cat_id"] = array(); } $maincat_id=$res_categorya["Category_Id"]; include("./export/export_subcat.php"); } else { $qry="select Company_Id,Page_Link from export_company WHERE Page_Link='".$Mem_PageMain."' AND Active='Yes'"; $res=mysql_query($qry); $num=mysql_num_rows($res); if($num>0) { $fetrow = mysql_fetch_array($res); $cid = $fetrow["Company_Id"]; $pagelink = $fetrow["Page_Link"]; include("./export/company/index.php"); } else { $Mem_PageD = str_replace(".html","",$Mem_Page); $qrypro="select * from export_products WHERE Page_Link='".$Mem_PageD."' AND Company_Id=".$cid; $respro=mysql_query($qrypro); $numproducts=mysql_num_rows($respro); if($numproducts>0) { $qry="select Company_Id,Page_Link from export_company WHERE Page_Link='".$samaj_Id2."' AND Active='Yes'"; $res=mysql_query($qry); $fetrow = mysql_fetch_array($res); $cid = $fetrow["Company_Id"]; $pagelink = $fetrow["Page_Link"]; $fetrowpro = mysql_fetch_array($respro); $catId = $fetrowpro["CategoryId"]; $pid = $fetrowpro["Product_Id"]; $Product_Name = $fetrowpro["Name"]; $Product_Desc = $fetrowpro["Description"]; $Product_Img = $fetrowpro["Image"]; $meta_title = $fetrowpro["Meta_Title"]; $meta_keyword = $fetrowpro["Meta_Keyword"]; $meta_desc = $fetrowpro["Meta_Desc"]; include("./export/company/product_detail.php"); } else { $qry="select Company_Id,Page_Link from export_company WHERE Page_Link='".$samaj_Id."' AND Active='Yes'"; $res=mysql_query($qry); $fetrow = mysql_fetch_array($res); $cid = $fetrow["Company_Id"]; $pagelink = $fetrow["Page_Link"]; if($Mem_Page=="about-us.html") { include("./export/company/about_us.php"); } else if($Mem_Page=="contact-us.html") { include("./export/company/contact_us.php"); } else if($Mem_Page=="products.html") { include("./export/company/company_products.php"); } else if($Mem_Page=="photogallery.html") { include("./export/company/photogallery.php"); } else if($Mem_Page=="thanks.html") { include("./export/company/thanks.php"); } else { $qry="select Company_Id,Page_Link from export_company WHERE Page_Link='".$samaj_Id."' AND Active='Yes'"; $res=mysql_query($qry); $fetrow = mysql_fetch_array($res); $pagelink = $fetrow["Page_Link"]; $cid=$fetrow["Company_Id"]; $categoryLink = str_replace(".html","",$Mem_Page); $qryc="select * from export_maincategories WHERE Page_Link='".$categoryLink."'"; $resc=mysql_query($qryc); $numc=mysql_num_rows($resc); if($numc>0) { $fetrowc = mysql_fetch_array($resc); $catId = $fetrowc["CategoryId"]; $meta_title = $fetrowc["Meta_Title"]; $meta_keyword = $fetrowc["Meta_Keyword"]; $meta_desc = $fetrowc["Meta_Desc"]; include("./export/company/product_categories.php"); } else { //echo $Mem_Page; //echo $samaj_Id2; //echo $categoryLink; $qry="select Company_Id,Page_Link from export_company WHERE Page_Link='".$samaj_Id2."' AND Active='Yes'"; $res=mysql_query($qry); $fetrow = mysql_fetch_array($res); $pagelink = $fetrow["Page_Link"]; $cid=$fetrow["Company_Id"]; $qryc="select * from export_subcategory WHERE Page_Link='".$categoryLink."' AND Company_Id=".$cid; $resc=mysql_query($qryc); $numc=mysql_num_rows($resc); if($numc>0) { $fetrowc = mysql_fetch_array($resc); $catId = $fetrowc["CategoryId"]; $subCatId=$fetrowc["Subcategory_Id"]; $meta_title = $fetrowc["Meta_Title"]; $meta_keyword = $fetrowc["Meta_Keyword"]; $meta_desc = $fetrowc["Meta_Desc"]; include("./export/company/product_categories.php"); } else { include("./error.php"); exit; } } } } } } } } else if(isset($Para4) && $Para4 == "classified" && $myqrystr[count($myqrystr)-3] == "company" ) { $_REQUEST['CategoryId']=$Para4; $_REQUEST["AdsId"]=$video_Id; if($myqrystr[count($myqrystr)-2] != "" ) { $comp = "true"; $_REQUEST["AdsId"]=$myqrystr[count($myqrystr)-2];; include("./classified/adsdetail.php"); } } else if(isset($Para4) && $Para4 == "classified" && $myqrystr[2] != "company") { $_REQUEST['CategoryId']=$video_Id; $_REQUEST["cpage"]=$samaj_Id; include("./classified/listads.php"); } else if(isset($Para5) && $Para5 == "classified" && $myqrystr[2] != "company") { $_REQUEST['CategoryId']=$Para4; $_REQUEST["AdsId"]=$video_Id; include("./classified/adsdetail.php"); } else if(isset($Para4) && $Para4 == "healthcare" && $myqrystr[count($myqrystr)-3] != "company" && $myqrystr[count($myqrystr)-2] != "gujartiarticles" ) { $_REQUEST['CategoryId']=$video_Id; $_REQUEST["cpage"]=$samaj_Id; include("./healthcare/listads.php"); } else if(isset($Para4) && $Para4 == "healthcare" && $myqrystr[count($myqrystr)-3] != "company" && $myqrystr[count($myqrystr)-2] == "gujartiarticles" ) { $_REQUEST['Healthcare_Article'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['KnwId'] = $myqrystr[count($myqrystr)-3]; include("./healthcare/healthcare_articles_details.php"); } else if(isset($Para5) && $Para5 == "healthcare" && $myqrystr[count($myqrystr)-3] != "company") { $_REQUEST['CategoryId']=$Para4; $_REQUEST["AdsId"]=$video_Id; include("./healthcare/adsdetail.php"); } else if(isset($Para4) && $Para4 == "healthcare" && $myqrystr[count($myqrystr)-3] == "company") { if($myqrystr[count($myqrystr)-2] != ""){ $comp=="true"; $_REQUEST["AdsId"]=$myqrystr[count($myqrystr)-2]; include("./healthcare/adsdetail.php"); } } else if(isset($Mem_Page) && $Mem_Page == "our-infrastructure.html") { include("./our-infrastructure.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarati-samaj.html") { if($samaj_Id == "nrigujaratilive") { $_SESSION['samaj_keyword'] = ""; $_SESSION['samaj_CountryId'] = ""; $_SESSION['samaj_StateId'] = ""; $_SESSION['samaj_CityId'] = ""; } $_REQUEST['cpage'] = $samaj_Id; include("./gujaratisamaj.php"); } else if(isset($Mem_Page) && $Mem_Page == "enquiry.html") { include("./enquiry.php"); } else if(isset($Mem_Page) && $Mem_Page == "spread-your-business.html") { include("./spreadbusinesscat.php"); } else if(isset($Mem_Page) && $Mem_Page == "thanksenquiry.html") { include("./thanksenquiry.php"); } else if(isset($Mem_Page) && $Mem_Page == "register.html") { include("./register.php"); } else if(isset($Mem_Page) && $Mem_Page == "login.html") { include("./login.php"); } else if(isset($Mem_Page) && $Mem_Page == "forgotpassword.html") { include("./forgotpass.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarativideo.html") { include("./gujarativideocat.php"); } else if(isset($samaj_Id) && $samaj_Id == "SpreadYourBusiness") { $_REQUEST['Category_Id']=$video_Id; include("./spreadbusiness.php"); } else if(isset($Mem_Page) && $Mem_Page == "listphotoalbumpublic.html") { include("./listphotoalbumpublic.php"); } else if(isset($video_Id) && $video_Id == "viewphoto") { $_REQUEST['myaction'] = $video_Id; $_REQUEST['cid'] = $samaj_Id; include("./listphotospublic.php"); } else if(isset($celebrity) && $celebrity == "Gujarati-Celebrities") { $_REQUEST['myaction'] = $celebrity; $_REQUEST['cid'] = $video_Id; include("./celebrityinfo.php"); } else if(isset($Mem_Page) && $Mem_Page == "Gujarati-Celebrities.html") { $_REQUEST['myaction'] = $celebrity; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; $_REQUEST['cid'] = $video_Id; include("./celebritydetail.php"); } else if(isset($rashifal_horoscope) && $rashifal_horoscope == "rashifal-horoscope") { $_REQUEST['myaction'] = $celebrity; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; $_REQUEST['cid'] = $video_Id; include("./rashi-fal.php"); } else if(isset($celebrity) && $celebrity == "celebrityphoto") { $_REQUEST['myaction'] = $celebrity; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; $_REQUEST['cid'] = $video_Id; include("./listcelebrityphoto.php"); } else if(isset($samaj_Id) && $samaj_Id == "slidephotos") { $_REQUEST['cid'] = $myqrystr[count($myqrystr)-4]; $_REQUEST['cpage'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['myaction'] = $myqrystr[count($myqrystr)-2]; include("./viewphotosslideshowpublic.php"); } /*else if(isset($video_Id) && $video_Id == "GujaratiVideos") { $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-5]; $_REQUEST['Video_Id'] = $myqrystr[count($myqrystr)-4]; include("./gujarativideopreview.php"); }*/ else if(isset($samaj_Id) && $samaj_Id == "GujaratiVideo") { $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-4]; $_REQUEST['cpage'] = $myqrystr[count($myqrystr)-3]; include("./gujarativideo.php"); } else if(isset($video_Id) && $video_Id == "GujaratiVideos" && $myqrystr[count($myqrystr)-6] != "healthcare" ) { $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-5]; $_REQUEST['Video_Id'] = $myqrystr[count($myqrystr)-4]; include("./gujarativideopreview.php"); } else if(isset($video_Id) && $video_Id == "GujaratiVideos" && $myqrystr[count($myqrystr)-6] == "healthcare" ) { $_REQUEST['HealthcareVideo_Id'] = $myqrystr[count($myqrystr)-4]; $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-5]; $_REQUEST['Video_Id'] = $myqrystr[count($myqrystr)-4]; include("./healthcare/healthcare_videosdetails.php"); } else if(isset($video_Id) && $video_Id == "ProductVideos") { $_REQUEST['Product_Id'] = $myqrystr[count($myqrystr)-5]; $_REQUEST['Video_Id'] = $myqrystr[count($myqrystr)-4]; include("./productvideopreview.php"); } else if(isset($video_Id) && $video_Id == "SpreadYourBusiness") { $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-5]; $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-4]; include("./spreadbusinessdetail.php"); } else if(isset($Mem_Page) && $Mem_Page == "babyname.html") { $_REQUEST['Boy_Girl']=$samaj_Id; $_REQUEST['Name']=$video_Id; include("./babyname_a.php"); } /*else if(isset($Mem_Page) && $Mem_Page == "gujarati-samaj-details.html") { $_REQUEST['detailid']=$video_Id; $_REQUEST["cpage"]=$samaj_Id; include("./gujaratisamajdetails.php"); } */ else if(isset($samaj_Id) && $samaj_Id == "samaj") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./gujaratisamajdetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarativideopreview.html") { $_REQUEST['cpage']=$samaj_Id; include("./gujarativideopreview.php"); } else if(isset($Mem_Page) && $Mem_Page == "jokes.html") { $_REQUEST['cpage']=$samaj_Id; include("./jokes.php"); } else if(isset($Mem_Page) && $Mem_Page == "jobs.html") { $_REQUEST["cpage"]=$samaj_Id; include("./jobs.php"); } else if(isset($samaj_Id) && $samaj_Id == "cat_jokes") { $_REQUEST['detailid']=$video_Id; include("./jokes_in_category.php"); } else if(isset($samaj_Id) && $samaj_Id == "jokes") { $_REQUEST['detailid1']=$video_Id; include("./jokes_comments.php"); } /*else if(isset($samaj_Id) && $samaj_Id == "jokes") { $_REQUEST['CategoryId']=$Para4; $_REQUEST['cpage']=$video_Id; include("./jokesdetail.php"); }*/ else if(isset($Mem_Page) && $Mem_Page == "cartoon.html") { include("./cartoon.php"); } else if(isset($samaj_Id) && $samaj_Id == "cat_cartoon") { $_REQUEST['detailid']=$video_Id; include("./cartoon_in_category.php"); } else if(isset($samaj_Id) && $samaj_Id == "cartoon") { $_REQUEST['detailid1']=$video_Id; include("./cartoon_comments.php"); } /*else if(isset($samaj_Id) && $samaj_Id == "jokes-detail.html") { $_REQUEST['detailid']=$video_Id; $_REQUEST['cpage']=$samaj_Id; include("./jokesdetail.php"); } else if(isset($Mem_Page) && $Mem_Page == "recipe-detail.html") { $_REQUEST['detailid']=$samaj_Id; include("./recipedetail.php"); }*/ else if(isset($Mem_Page) && $Mem_Page == "temple_trust_organization.html") { if($samaj_Id == "nrigujaratilive") { $_SESSION['trust_keyword'] = ""; $_SESSION['trust_CountryId'] = ""; $_SESSION['trust_StateId'] = ""; $_SESSION['trust_CityId'] = ""; } $_REQUEST['cpage'] = $samaj_Id; $_REQUEST['detailid']=$samaj_Id; include("./trusttempleorg.php"); } else if(isset($samaj_Id) && $samaj_Id == "trust") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./trusttempleorgdetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujaratislideshow.html") { include("./gujaratislideshow.php"); } else if(isset($Mem_Page) && $Mem_Page == "knowledgeguru.html") { include("./knowledgeguru.php"); } else if(isset($samaj_Id) && $samaj_Id == "knowledgeguru") { $_REQUEST['KnwId']=$video_Id; include("./knowledgegurudetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarati-business-tycoons.html") { include("./gujaratibusinesstycoons.php"); } else if(isset($samaj_Id) && $samaj_Id == "gujaratibusinesstycoon") { $_REQUEST['GujaratiTycoonId']=$video_Id; include("./gujaratibusinesstycoonsdetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujaraticalendar.html") { include("./vartehvar.php"); } else if(isset($samaj_Id) && $samaj_Id == "gujaraticalendar") { $_REQUEST['KnwId']=$video_Id; include("./vartehvardetails.php"); } else if(isset($CalDaysPage) && $CalDaysPage == "gujaraticalendar") { $MonthId=$myqrystr[1]; $plink=explode(".",$myqrystr[2]); $Date=explode(".",$myqrystr[3]); $Title=explode("-",$plink[0]); $date=date('Y-m-d',strtotime($Date[0]." ". $Title[0]." ".$Title[1])); $sql = "select Day_Id from cal_days where Cdate='".$date."'"; $res = mysql_query($sql) or die("can not select cal days"); $row=mysql_fetch_array($res); $Day_Id=$row['Day_Id']; include("./calender-days-details.php"); } else if(isset($samaj_Id) && $samaj_Id == "khanakhazana") { include("./recindex.php"); } else if(isset($samaj_Id) && $samaj_Id == "gujaratifood") { include("./gujaratifood.php"); } else if(isset($samaj_Id) && $samaj_Id == "navratri-garba") { include("./Navratri-Garba.php"); } else if(isset($samaj_Id) && $samaj_Id == "new-year-party") { include("./New-Year-Party.php"); } else if(isset($samaj_Id) && $samaj_Id == "addemails") { include("./news-letter-entry.php"); } else if(isset($Mem_Page) && $Mem_Page == "khana_khazana.html") { include("./recindex.php"); } else if(isset($samaj_Id) && $samaj_Id == "recipe") { $_REQUEST['RecipeId']=$video_Id; include("./recipedetail.php"); } else if(isset($Mem_Page) && $Mem_Page == "press_release.html") { include("./pressrelease.php"); } else if(isset($Mem_Page) && $Mem_Page == "fanclub.html") { include("./fanclub.php"); } else if(isset($Mem_Page) && $Mem_Page == "womensspecial.html") { include("./womensspecial.php"); } else if(isset($Mem_Page) && $Mem_Page == "dedlydownload.html") { include("./dedlydownload.php"); } else if(isset($Mem_Page) && $Mem_Page == "download.html") { $_REQUEST['catid'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['detid'] = $myqrystr[count($myqrystr)-2]; include("./download.php"); } else if(isset($samaj_Id) && $samaj_Id == "women") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./womensspecialdetail.php"); } else if(isset($samaj_Id) && $samaj_Id == "dedlydown") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./dedlydownloaddetail.php"); } else if(isset($samaj_Id) && $samaj_Id == "samaj-detail") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-5]; $_REQUEST['detailsubid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./gujaratisamajbriefdetails.php"); } else if(isset($samaj_Id) && $samaj_Id == "trust-detail") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-5]; $_REQUEST['detailsubid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./trusttempleorgbriefdetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "thanks.html") { include("./thanks.php"); } else if(isset($Mem_Page) && $Mem_Page == "find_us.html") { include("./find_us.php"); } /**********Education***********/ else if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] == "education") { if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "Search.html") { include("./education/searchresult.php"); } else if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "About_Us.html") { $_REQUEST['ID'] = $myqrystr[count($myqrystr)-2]; include("./education/aboutus.php"); } else if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "education_common_link.html") { $_REQUEST['ID'] = $myqrystr[count($myqrystr)-2]; include("./education/common_link.php"); } else if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "Advertisement_Plan.html") { $_REQUEST['ID'] = $myqrystr[count($myqrystr)-2]; include("./education/advertisementplan.php"); } else if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "education-news.html") { //echo $_REQUEST['ID'] = $myqrystr[count($myqrystr)-2]; include("./education/education_news.php"); } } else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "education") { if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] == "Downloads" && $myqrystr[count($myqrystr)-1] != "News_Details.html") { if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "Material-Download.html") { include("./education/materialdown.php"); } } else if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] != "Downloads" && $myqrystr[count($myqrystr)-1] != "News_Details.html") { if(isset($myqrystr[count($myqrystr)-2]) && intval($myqrystr[count($myqrystr)-2]) !=0) { $_REQUEST['CatName']=$myqrystr[count($myqrystr)-1]; $_REQUEST['CatId']=$myqrystr[count($myqrystr)-2]; include("./education/education_category.php"); } } else if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "News_Details.html" && $myqrystr[count($myqrystr)-2] != "Downloads") { $_REQUEST['ID'] = $myqrystr[count($myqrystr)-2]; include("./education/news_details.php"); } } else if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "education" ) { if($myqrystr[count($myqrystr)-3] != "Downloads" && $myqrystr[count($myqrystr)-3] != "Cls-Edu-Category" && $myqrystr[count($myqrystr)-3] != "Cls-Edu-Company") { $_REQUEST['CatId']=$myqrystr[count($myqrystr)-3]; $_REQUEST['SubCat']=$myqrystr[count($myqrystr)-2]; include("./education/educations.php"); } else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "Downloads") { $_REQUEST['SubCatId']=$myqrystr[count($myqrystr)-2]; include("./education/download_subcat.php"); } else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "Cls-Edu-Category") { $_REQUEST['CategoryId'] = $myqrystr[count($myqrystr)-2]; include("./education/classified_category.php"); } /*else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "Cls-Edu-Company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./education/common_details.php"); }*/ } else if(isset($myqrystr[count($myqrystr)-5]) && $myqrystr[count($myqrystr)-5] == "education") { if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "Cls-Edu-Company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-3]; include("./education/common_details.php"); } else if($myqrystr[count($myqrystr)-4] != "Downloads" && $myqrystr[count($myqrystr)-4] != "Search-Result") { $_REQUEST['EduId']=$myqrystr[count($myqrystr)-4]; $_REQUEST['SubCatTitle']=$myqrystr[count($myqrystr)-2]; $_REQUEST['CatTitle']=$myqrystr[count($myqrystr)-3]; include("./education/educationdetails.php"); } else if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "Downloads") { $_REQUEST['CatId']=$myqrystr[count($myqrystr)-3]; $_REQUEST['CatName']=$myqrystr[count($myqrystr)-2]; include("./education/download_cat.php"); } else if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "Search-Result") { $_REQUEST['Search_detail']=$myqrystr[count($myqrystr)-2]; $_REQUEST['EduId']=$myqrystr[count($myqrystr)-3]; $_REQUEST['search']=$myqrystr[count($myqrystr)-4]; include("./education/educationdetails.php"); } } /*else if(isset($myqrystr[count($myqrystr)-6]) && $myqrystr[count($myqrystr)-6] == "education") { $_REQUEST['EduId']=$myqrystr[count($myqrystr)-3]; $_REQUEST['CatId']=$myqrystr[count($myqrystr)-4]; $_REQUEST['CatTitle']=$myqrystr[count($myqrystr)-5]; include("./education/educationdetails.php"); }*/ /**********Education***********/ else if(isset($Mem_Page) && $Mem_Page == "gujaratglance.html") { include("./gujaratglance.php"); } else if(isset($samaj_Id) && $samaj_Id == $my_gujaratglance) { $_REQUEST['detailid']=$video_Id; include("./gujaratatglancedetail.php"); } else if(isset($samaj_Id) && $samaj_Id == "gujaratatglancedetails") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-3]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; include("./gujaratatglancebriefdetails.php"); } else if(isset($samaj_Id) && $samaj_Id == "vartehvardetails") { $_REQUEST['detailid']=$myqrystr[count($myqrystr)-4]; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-3]; include("./vartehvarbriefdetails.php"); } else if(isset($Mem_Page) && $Mem_Page == "donate-ngo.html") { include("./donate-ngo.php"); } else if(isset($samaj_Id) && $samaj_Id == "donatengo") { $_REQUEST['detailid']=$video_Id; include("./danotengodetail.php"); } else if(isset($Mem_Page) && $Mem_Page == "termsandcondition.html") { include("./classified/termsandcondition.php"); } /*else if(isset($Mem_Page) && $Mem_Page == "checkout.html") { include("./checkout.php"); } else if(isset($Mem_Page) && $Mem_Page == "checkout1.html") { include("./checkout1.php"); }*/ else if(isset($Mem_Page) && $Mem_Page == "business-opportunity.html") { include("./business-opportunity.php"); } else if(isset($Mem_Page) && $Mem_Page == "ebrochure-and-eform.html") { include("./ebrochure-and-eform.php"); } else if(isset($Mem_Page) && $Mem_Page == "your-site.html") { include("./your-site.php"); } //else if(isset($Mem_Page) && $Mem_Page == "advertise-withus.html") else if(isset($Mem_Page) && $Mem_Page == "online-advertising-in-india-internet-marketing-web-digital.html") { include("./advertise-withus.php"); } else if(isset($Mem_Page) && $Mem_Page == "general-section-banner-ad.html") { include("./general-section-banner-ad.php"); } else if(isset($Mem_Page) && $Mem_Page == "master-section-banner-ad.html") { include("./master-section-banner-ad.php"); } else if(isset($Mem_Page) && $Mem_Page == "terms-and-condition.html") { include("./terms-and-condition.php"); } else if(isset($Mem_Page) && $Mem_Page == "buy-gujarati-directory.html") { include("./buy-gujarati-directory.php"); } else if(isset($Mem_Page) && $Mem_Page == "government-of-gujarat.html") { include("./government-of-gujarat.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarati-business-tycoons.html") { include("./gujarati-business-tycoons.php"); } else if(isset($Mem_Page) && $Mem_Page == "festival-gujarat.html") { include("./festival-gujarat.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarati-var-tahevar.html") { include("./gujarati-var-tahevar.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujarati_sms_shayri.html") { include("./gujarati_sms_shayri.php"); } else if(isset($samaj_Id) && $samaj_Id == "cat_shayari") { $_REQUEST['detailid']=$video_Id; include("./sms_in_category.php"); } else if(isset($samaj_Id) && $samaj_Id == "shayari") { $_REQUEST['detailid1']=$video_Id; include("./sms_comments.php"); } /*else if(isset($Mem_Page) && $Mem_Page == "gujarati_article.html") { include("./gujarati_article.php"); }*/ else if(isset($Mem_Page) && $Mem_Page == "newspapers.html") { include("./newspapers.php"); } else if(isset($latestnews) && $latestnews == "latest-news") { if($latestnewscategory=="" && $latestnewscategoryid=="") { include("./latest-news.php"); } else { $_REQUEST["cpage"]=$samaj_Id; include("./latest-news-category.php"); } } /*else if(isset($samaj_Id2) && $samaj_Id2 == "Topic") { $_REQUEST["Topic_Id"]=$samaj_Id; include("./gen_topic.php"); }*/ else if(isset($samaj_Id3) && $samaj_Id3 == "Topic") { $_REQUEST["Topic_Id"]=$samaj_Id2; $_REQUEST["cpage"]=$samaj_Id; include("./gen_topic.php"); } else if(isset($Mem_Page) && $Mem_Page == "anna-hazare-anti-corruption-movement-india-review.html") { $isThisAnna="Yes"; include("./anna_topic.php"); } else if(isset($samaj_Id) && $samaj_Id == "readgujarat") { $_REQUEST['CategoryId']=$video_Id; include("./newspapersbanner.php"); } else if(isset($samaj_Id) && $samaj_Id == "readgujaratdetail") { $_REQUEST['GId']=$video_Id; include("./readgujaratdetail.php"); } else if(isset($samaj_Id) && $samaj_Id == "readgujnriweek") { $_REQUEST['PersonId']=$video_Id; include("./readgujnriweek.php"); } else if(isset($samaj_Id) && $samaj_Id == "readgujbanner") { $_REQUEST['BannerId']=$video_Id; include("./readgujbanner.php"); } else if(isset($Mem_Page) && $Mem_Page == "blog.html") { include("./blog.php"); } else if(isset($Mem_Page) && $Mem_Page == "our_partner.html") { include("./our_partner.php"); } else if(isset($Mem_Page) && $Mem_Page == "aboutus.html") { if($samaj_Id == "classified") include("classified/aboutus.php"); else if($samaj_Id == "matrimonial") include("matrimonial/about_us.php"); else include("./about_us.php"); } else if(isset($Mem_Page) && $Mem_Page == "faq.html") { if($samaj_Id == "classified") include("classified/faq.php"); } else if(isset($Mem_Page) && $Mem_Page == "portal_services.html") { include("./portal_services.php"); } else if(isset($Mem_Page) && $Mem_Page == "matrimonial.html") { include("./matrimonial.php"); } else if(isset($Mem_Page) && $Mem_Page == "classified.html") { include("./classified.php"); } else if(isset($Mem_Page) && $Mem_Page == "real_estate.html") { include("./real_estate.php"); } ////////////******tourism else if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] == "tourism") { if($myqrystr[count($myqrystr)-1] == "tours-and-travels.html") { $_REQUEST['CategoryId'] = 47; include("./tourism/custom_page.php"); } else if($myqrystr[count($myqrystr)-1] == "hotels-in-gujarat.html") { $_REQUEST['CategoryId'] = 21; include("./tourism/custom_page.php"); } else if($myqrystr[count($myqrystr)-1] == "About_Us.html") { include("./tourism/about_us.php"); } else if($myqrystr[count($myqrystr)-1] == "Advertisement_Plan.html") { include("./tourism/advertise_plan.php"); } else if($myqrystr[count($myqrystr)-1] == "Faq.html") { include("./tourism/faq.php"); } else if($myqrystr[count($myqrystr)-1] == "Online_Booking.html") { include("./tourism/onlinebooking.php"); } else if(isset($Mem_Page) && $Mem_Page == "Tourism-Category.html") { $_REQUEST["TourCatId"] =$tourism; include("./tourism/tourism_places.php"); } } else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "tourism") { if($myqrystr[count($myqrystr)-1] == "tours-and-travels.html") { $_REQUEST['CategoryId'] = 47; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./tourism/custom_page.php"); } else if($myqrystr[count($myqrystr)-1] == "hotels-in-gujarat.html") { $_REQUEST['CategoryId'] = 21; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./tourism/custom_page.php"); } else if($myqrystr[count($myqrystr)-2] == "holiday" || $myqrystr[count($myqrystr)-2] == "tour-packages-from") { include("./tourism/tourism_package_details.php"); } if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] == "cities") { $district=explode(".",$myqrystr[count($myqrystr)-1]); $_REQUEST["District"] =$district[0]; include("./tourism/tourism_district.php"); } else // if(isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] != "cities") { $_REQUEST["CatId"] =$myqrystr[count($myqrystr)-2]; include("./tourism/tourism_places.php"); } } else if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "tourism") { if($myqrystr[count($myqrystr)-3] == "company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./tourism/common_details.php"); } else if($myqrystr[count($myqrystr)-3] == "category") { $_REQUEST['CategoryId'] = $myqrystr[count($myqrystr)-2]; include("./tourism/classified_category.php"); } else if(is_numeric ($myqrystr[count($myqrystr)-2]) && is_numeric ($myqrystr[count($myqrystr)-3])) { $_SESSION['Maincatid'] = $myqrystr[count($myqrystr)-2]; // Used at Ad Details Page $_REQUEST['CategoryId'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['SubCategoryId'] = $myqrystr[count($myqrystr)-3]; include("./tourism/custom_category.php"); //exit; } else if(isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] != "booking-counter" && $myqrystr[count($myqrystr)-3] != "Category" && $myqrystr[count($myqrystr)-3] != "Company" && $myqrystr[count($myqrystr)-3] != "tour-details" ) { $_REQUEST["TourPlaceId"] =$myqrystr[count($myqrystr)-3]; $tourCat=implode(" ",explode("-",$myqrystr[count($myqrystr)-2])); $_REQUEST["TourCat"] =$tourCat; include("./tourism/tourism_detail.php"); } else if ($myqrystr[count($myqrystr)-3] == "booking-counter") { $_REQUEST['CatId'] = $myqrystr[count($myqrystr)-2]; include("./tourism/booking_main.php"); } /*else if($myqrystr[count($myqrystr)-3] == "Cls-Company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./tourism/common_details.php"); }*/ else if($myqrystr[count($myqrystr)-3] == "tour-details") { $_REQUEST['CatId'] = $myqrystr[count($myqrystr)-2]; include("./tourism/booking_details.php"); } } else if(isset($myqrystr[count($myqrystr)-5]) && $myqrystr[count($myqrystr)-5] == "tourism") { if($myqrystr[count($myqrystr)-4] == "company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-3]; include("./tourism/common_details.php"); } } else if(isset($myqrystr[count($myqrystr)-6]) && $myqrystr[count($myqrystr)-6] == "tourism") { $_REQUEST["District"] =$myqrystr[count($myqrystr)-4]; $_REQUEST["TourPlaceId"] =$myqrystr[count($myqrystr)-2]; $tourCat=implode(" ",explode("-",$myqrystr[count($myqrystr)-3])); $_REQUEST["TourCat"] =$tourCat; include("./tourism/tourism_detail.php"); /**********Tourism*****/ } // healthcare st --------- else if(isset($myqrystr[count($myqrystr)-2]) && ($myqrystr[count($myqrystr)-2] == "healthcare" || $myqrystr[count($myqrystr)-3] == "healthcare") ) { if($myqrystr[count($myqrystr)-1] == "healthcarevideos.html") { $_REQUEST['Healthcare_section_Id'] = 1; include("./healthcare/healthcarevideos.php"); } else if($myqrystr[count($myqrystr)-1] == "About_Medical.html") { include("./healthcare/about_medical.php"); } else if($myqrystr[count($myqrystr)-1] == "Advertisement_Plan.html") { include("./healthcare/Advertisement_Plan.php"); } else if($myqrystr[count($myqrystr)-1] == "Category.html") { include("./healthcare/category.php"); } else if($myqrystr[count($myqrystr)-1] == "healthcare_category.html") { include("./healthcare/healthcare_category.php"); } else if($myqrystr[count($myqrystr)-1] == "Post_Ads.html") { include("./healthcare/Post_Ads.php"); } else if($myqrystr[count($myqrystr)-1] == "Faq.html") { include("./healthcare/faq.php"); } else if($myqrystr[count($myqrystr)-1] == "Healthcare.html") { $_REQUEST['Healthcare_section_Id'] = 3; $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./healthcare/healthcare.php"); } else if( $myqrystr[count($myqrystr)-1] == "healthcarearticles.html") { $_REQUEST['Healthcare_section_Id'] = 2; include("./healthcare/healthcarearticles.php"); } else if($myqrystr[count($myqrystr)-1] == "" && $myqrystr[count($myqrystr)-2] == "healthcare") { include("./healthcare/index.php"); } else { $_REQUEST["healthcare_showpage"]="yes"; include("./healthcare/healthcare_showpages.php"); } } // healthcare en --------- /********* Shopping *****/ else if (isset($myqrystr[count($myqrystr)-2]) && $myqrystr[count($myqrystr)-2] == "shopping") { if(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "E-Mall_About_Us.html") { include("./shopping/about_us.php"); } elseif(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "E-Mall_Advertise_Plan.html") { include("./shopping/advertise_plan.php"); } elseif(isset($myqrystr[count($myqrystr)-1]) && $myqrystr[count($myqrystr)-1] == "Category.html") { $_REQUEST['Cat_Id']=1; include("./shopping/subcategory_list.php"); } } else if (isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "shopping") { $_REQUEST['Cat_Id'] = $myqrystr[count($myqrystr)-2]; include("./shopping/subcategory_list.php"); } else if (isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4] == "shopping") { if (isset($myqrystr[count($myqrystr)-3]) && $myqrystr[count($myqrystr)-3] == "Brand") { $_REQUEST['Brand_Id'] = $myqrystr[count($myqrystr)-2]; include("./shopping/brands_catlist.php"); } else { $_REQUEST['catid'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['pid'] = $myqrystr[count($myqrystr)-2]; include("./shopping/productinfo.php"); } } /********* Shopping *****/ else if(isset($Mem_Page) && $Mem_Page == "add_url.html") { include("./addurl/add_url.php"); } else if(isset($Mem_Page) && $Mem_Page == "photo_gallery.html") { include("./photo_gallery.php"); } else if(isset($Mem_Page) && $Mem_Page == "nrib2b.html") { include("./nrib2b.php"); } else if(isset($Mem_Page) && $Mem_Page == "moretopic.html") { $_REQUEST["cpage"]=$samaj_Id; include("./more_topic.php"); } else if(isset($Mem_Page) && $Mem_Page == "healthcare.html") { include("./healthcare.php"); } else if(isset($Mem_Page) && $Mem_Page == "finance.html") { include("./finance.php"); } else if(isset($Mem_Page) && $Mem_Page == "agriculture.html") { include("./agriculture.php"); } else if(isset($Mem_Page) && $Mem_Page == "launch_your_product.html") { include("./launch_your_product.php"); } else if(isset($Mem_Page) && $Mem_Page == "placementservices.html") { include("./placementservices.php"); } else if(isset($Mem_Page) && $Mem_Page == "jayho.html") { include("./jayho.php"); } else if(isset($Mem_Page) && $Mem_Page == "gujengcalendar.html") { include("./gujengcalendar.php"); } else if(isset($Mem_Page) && $Mem_Page == "buy_tickets.html") { include("./buy_tickets.php"); } else if(isset($Mem_Page) && $Mem_Page == "upcoming_events.html") { include("./upcoming_events.php"); } else if(isset($Mem_Page) && $Mem_Page == "egreetings.html") { include("./egreetings.php"); } else if(isset($Mem_Page) && $Mem_Page == "payment_option.html") { include("./payment_option.php"); } else if(isset($Mem_Page) && $Mem_Page == "contact_us.html") { if($samaj_Id == "matrimonial") include("matrimonial/contact_us.php"); else include("./contact_us.php"); } else if(isset($Mem_Page) && $Mem_Page == "advertisementplan.html") { if($samaj_Id == "classified") include("classified/advertisementplan.php"); } else if(isset($Mem_Page) && $Mem_Page == "campaign.html") { include("./banner.php"); } else if($myqrystr[count($myqrystr)-1] == "ads_direct.html" || $myqrystr[count($myqrystr)-1] == "ads_indirect.html") { $CheckDirectName=$myqrystr[count($myqrystr)-1]; include("./ads_direct.php"); } else if(isset($Mem_Page) && $Mem_Page == "contact_us.html") { if($samaj_Id == "matrimonial") include("matrimonial/contact_us.php"); else include("./contact_us.php"); } else if(isset($Mem_Page) && $Mem_Page == "advertisementplan.html") { if($samaj_Id == "classified") include("classified/advertisementplan.php"); } else if(isset($Mem_Page) && $Mem_Page == "campaign.html") { include("./banner.php"); } else if(isset($Mem_Page) && $Mem_Page == "search.html") { $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./matrimonial/search_result.php"); } else if(isset($Mem_Page) && $Mem_Page == "viewfullprofile.html") { $_REQUEST['userid']=$myqrystr[count($myqrystr)-2]; include("./matrimonial/viewfullprofile.php"); } else if(isset($Mem_Page) && $Mem_Page == "advancesearch.html") { //$_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./matrimonial/advancesearch.php"); } else if(isset($Mem_Page) && $Mem_Page == "membershipplan.html") { //$_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./matrimonial/membershipplan.php"); } else if(isset($Mem_Page) && $Mem_Page == "advertisementplans.html") { //$_REQUEST["cpage"]=$myqrystr[count($myqrystr)-2]; include("./matrimonial/advertisementplan.php"); } else if(isset($Mem_Page) && $Mem_Page == "GeneralPayment.html") { include("donatesection.php"); } else if(isset($Mem_Page) && $Mem_Page == "corporate_launching.html") { include("./corporate_launching.php"); } else if(isset($Mem_Page) && $Mem_Page == "viewgujaratislideshow.html") { $_REQUEST["iid"] =$myqrystr[count($myqrystr)-2]; include("./viewgujaratislideshow.php"); } else if(isset($Mem_Page) && $Mem_Page == "adAdvertise.html") { include("./adAdvertise.php"); } else if(isset($Mem_Page) && $Mem_Page == "pollthanks.html") { $_REQUEST["pid"] =$myqrystr[count($myqrystr)-2]; include("./poll_thanks.php"); } else if($myqrystr[count($myqrystr)-1] == "timezone.html") { include("./timezone.php"); } //REAL ESTATE else if($myqrystr[count($myqrystr)-1] == "about_realestate.html") { include("./realestate/about_us.php"); } else if($myqrystr[count($myqrystr)-1] == "advertise_plan.html") { include("./realestate/advertise_plan.php"); } else if($myqrystr[count($myqrystr)-2] == "Featured-Property") { $Member_Id = $myqrystr[count($myqrystr)-3]; include("./realestate/builder_details.php"); } else if($myqrystr[count($myqrystr)-1] == "advance_serach.html") { include("./realestate/advancesearch.php"); } else if($myqrystr[count($myqrystr)-3] == "detail") { $Property_Id = $myqrystr[count($myqrystr)-2]; include("./realestate/fulldetails.php"); } else if($myqrystr[count($myqrystr)-1] == "faq_realestate.html") { include("./realestate/faq.php"); } else if($myqrystr[count($myqrystr)-1] == "Login.html") { include("./realestate/login.php"); } else if($myqrystr[count($myqrystr)-1] == "forgot_password.html") { include("./realestate/forgotpass.php"); } else if($myqrystr[count($myqrystr)-1] == "register_member.html") { include("./realestate/register_member.php"); } else if($myqrystr[count($myqrystr)-1] == "builders.html") { include("./realestate/builders.php"); } else if(substr($myqrystr[count($myqrystr)-2],-12) == "propertytype") { $_REQUEST['Cat_Id'] = $myqrystr[count($myqrystr)-3]; include("./realestate/builderstype.php"); } else if(substr($myqrystr[count($myqrystr)-2],-12) == "propertyarea") { $_REQUEST['Area_Id'] = $myqrystr[count($myqrystr)-3]; include("./realestate/buildersarea.php"); } else if($myqrystr[count($myqrystr)-2] == "propertydevelopers") { $_REQUEST['Amenity_Id'] = $myqrystr[count($myqrystr)-3]; $_REQUEST['BuilderCity'] = "BuilderCity"; include("./realestate/builders.php"); } //Ebook Custom else if($myqrystr[count($myqrystr)-2] == "ebook") { $_REQUEST['Category_Id'] = $myqrystr[count($myqrystr)-3]; include("./ebook_category.php"); } else if($myqrystr[count($myqrystr)-2] == "ebook-details") { $_REQUEST['Group_Id'] = $myqrystr[count($myqrystr)-3]; include("./ebook.php"); } //End Ebook //start common link else if($myqrystr[count($myqrystr)-1] == "commonlinks.html" && $myqrystr[count($myqrystr)-3] == "realestate") { $_REQUEST["cpage"] = $myqrystr[count($myqrystr)-2]; include("./realestate/common_link.php"); } else if($myqrystr[count($myqrystr)-1] == "commonlinks.html" && $myqrystr[count($myqrystr)-3] == "matrimonial") { $_REQUEST["cpage"] = $myqrystr[count($myqrystr)-2]; include("./matrimonial/common_link.php"); } else if($myqrystr[count($myqrystr)-1] == "commonlinks.html" && $myqrystr[count($myqrystr)-3] == "education") { $_REQUEST["cpage"] = $myqrystr[count($myqrystr)-2]; include("./education/common_link.php"); } else if($myqrystr[count($myqrystr)-3] == "Classified-Matrimonial") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./matrimonial/common_details.php"); } else if($myqrystr[count($myqrystr)-3] == "Classified-Company") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./realestate/common_details.php"); } else if($myqrystr[count($myqrystr)-3] == "Classified-Education") { $_REQUEST['AdsId'] = $myqrystr[count($myqrystr)-2]; include("./education/common_details.php"); } else if($myqrystr[count($myqrystr)-3] == "Classified-Category") { $_REQUEST['CategoryId'] = $myqrystr[count($myqrystr)-2]; include("./realestate/classified_category.php"); } //end common link //Gujarti Articles else if(isset($Mem_Page) && $Mem_Page == "gujarati_articles.html") { include("./gujarti_articles.php"); } else if(isset($samaj_Id) && $samaj_Id == "gujartiarticles") { $_REQUEST['KnwId']=$video_Id; include("./gujarti_articles_details.php"); } //End gujarati articles //Start Builder else if($myqrystr[count($myqrystr)-1] == "Builder" && $myqrystr[count($myqrystr)-2] == "realestate") { include("./realestate/Builder/index.php"); } else if($myqrystr[count($myqrystr)-1] == "projects.html") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-2]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) { $rowmith=mysql_fetch_array($res); $buildermith_id=$rowmith['User_Id']; include("./realestate/builder/Builder_Projects.php"); } else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } else if($myqrystr[count($myqrystr)-1] == "Builder-aboutus.html") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-2]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) { $rowmith=mysql_fetch_array($res); $buildermith_id=$rowmith['User_Id']; include("./realestate/builder/Builder_aboutus.php"); } else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } else if($myqrystr[count($myqrystr)-1] == "Builder-contactus.html") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-2]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) { $rowmith=mysql_fetch_array($res); $buildermith_id=$rowmith['User_Id']; include("./realestate/builder/Builder_contactus.php"); } else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } else if($myqrystr[count($myqrystr)-2] == "Project-details") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-4]; $Project_Id = $myqrystr[count($myqrystr)-3]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) { $rowmith=mysql_fetch_array($res); $buildermith_id=$rowmith['User_Id']; include("./realestate/builder/Builder_Project_details.php"); } else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } else if($myqrystr[count($myqrystr)-1] == "builders-home.html") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-2]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) { $rowmith=mysql_fetch_array($res); $buildermith_id=$rowmith['User_Id']; include("./realestate/builder/index.php"); } else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } else if($myqrystr[count($myqrystr)-1] == "Builder-catelog.html") { $_REQUEST['USERNAME'] = $myqrystr[count($myqrystr)-2]; $sql = "select * from realestate_builder_projects rbp left join realestate_builder_setting rbs on rbp.User_Id=rbs.User_Id WHERE rbp.status='Yes' AND rbs.url_name='".$_REQUEST['USERNAME']."'"; $res = mysql_query($sql) or die("can not select builder project status"); if(mysql_num_rows($res)>0) include("./realestate/builder/Builder_catelog.php"); else { header("Location: ".$SITE_URL."realestate/index.php"); exit; } } //End Builder //Start Photogallery else if($myqrystr[count($myqrystr)-3] == "Slide") { $_REQUEST['Photo_Id'] = $myqrystr[count($myqrystr)-2]; include("Photo_Slide_Show.php"); } //End Photogallery else if($myqrystr[count($myqrystr)-1] == "timezone.html") { include("./timezone.php"); } else if($samaj_Id=="ecatalogue") { if($Mem_Page=="ecatalogue-faq.html") { include("./ecatalogue/faq.php"); } elseif($Mem_Page=="ecatalogue-aboutus.html") { include("./ecatalogue/aboutus.php"); } elseif($Mem_Page=="ecatalogue-advertisment.html") { include("./ecatalogue/advertisment.php"); } /*elseif($Mem_Page=="ecatalogue_index.html") { include("./ecatalogue/advertisment.php"); }*/ } else if(isset($myqrystr[count($myqrystr)-4]) && $myqrystr[count($myqrystr)-4]=="ecatalogue") { if(isset($myqrystr[count($myqrystr)-3]) && intval($myqrystr[count($myqrystr)-3]) >0 ) { $_REQUEST['Group_Id']=$myqrystr[count($myqrystr)-3]; $_REQUEST['cName']=$myqrystr[count($myqrystr)-2]; include("./ecatalogue/index.php"); } } else if($myqrystr[0]=="nrinews") { include("./list-categorywise-news.php"); } else if($myqrystr[0]=="thali-restaurants") { $FtrId=$myqrystr[1]; include("./food-thali-hotel-details.php"); } else if($myqrystr[0]=="garba-dandiya-raas") { $NgId=$myqrystr[1]; include("./Navratri-Garba-Details.php"); } else if($myqrystr[0]=="31st-events") { $NypId=$myqrystr[1]; include("./New-Year-Party-Details.php"); } else if($myqrystr[count($myqrystr)-3]=="recruitment-naukri-vacancy") { $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; $Category_Id = $myqrystr[count($myqrystr)-2]; $PG = $myqrystr[count($myqrystr)-1]; $URL = 'recruitment-naukri-vacancy/'.$Category_Id.'/'.$PG; include("./job-category.php"); } else if($myqrystr[count($myqrystr)-3]=="recruitment-vacancy-jobs") { $_REQUEST["cpage"]=$myqrystr[count($myqrystr)-4]; $Subcategory_Id = $myqrystr[count($myqrystr)-2]; $URL = 'recruitment-vacancy-jobs/'.$Subcategory_Id.'/'.$myqrystr[count($myqrystr)-1]; include("./job-subcategory.php"); } else if($myqrystr[count($myqrystr)-3]=="job") { $Job_Id=$myqrystr[count($myqrystr)-2]; include("./job-single.php"); } else { // header("location:".$SITE_URL); exit; } ?>