<?php if(!defined('AUTHACCESS')){echo "Not Allowed";exit();}
?>
<?php $use_sidebar="yes"; ?>
<?php global $themestyle,$stripchat_id;?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<?php
	if (!empty($clean_req['camfeed'])) {

		$checkfeed = cleanname_replace($clean_req['camfeed']);

	}
	if (!empty($clean_req['moviefeed'])) {
		$checkfeed = cleanname_replace($clean_req['moviefeed']);

	}
?>


<?php
 	$thisrqrul = $_SERVER['REQUEST_URI'];
 	$thndex = stripos($thisrqrul, "/theme");
	$canonical = substr($thisrqrul,0,$thndex);
	echo "<link rel=\"canonical\" href=\"https://" . $_SERVER['SERVER_NAME']. $canonical . "\"/>\n";
?>
<?php $page_title = $site_title; 
$page_description = !empty($page_description ) ? $page_description  : "";
$page_keywords = !empty($page_keywords ) ? $page_keywords  : "";
?>
<title><?php echo $page_title . " " . $page_description; ?><?php if($doingsearch){echo " Search " . " " . $clean_req['search'];}else{echo " "; }  ?></title>
<meta name="description" content="<?php echo $page_description; ?>">
<meta name="keywords" content="<?php echo $page_keywords; ?>">
<!-- link rel="stylesheet" href="<?php echo $site_directory."/themes/".$template; ?>/green_style.css" -->


  <script
    id="SCChatScript"
    type="text/javascript"
    src="https://creative.rmhfrtnd.com/widgets/Chat/lib.js"
  ></script>
 <script
    id="SCPlayerScript"
    type="text/javascript"
    src="https://creative.rmhfrtnd.com/widgets/Player/lib.js"
  ></script>

<script src="<?php echo $site_directory."/themes/".$template; ?>/site.js"></script>


<style>
	body{font-family:arial;font-size:18px;}

	.content_main {text-align:center;}
	.header_container {
		padding:4px;
		width:100%;
		background: white;
		margin-top:0;
		margin-bottom:20px;
		padding-top:5px;
    	box-sizing: border-box;
		text-align:right;
	  	box-shadow: 0px 0px 5px 0px black;
	}
		.topTextSponsorLink {
		font-size:28px;
		font-weight:500;
		text-decoration:none;
		color:#000000;
		text-align:center;
	  	box-shadow: 0px 0px 7px 0px black;
	  	padding:10px;
	  	border-radius:10px;
	}
	.topnavlink {
		font-size:22px;
		font-weight:300;
		text-decoration:none;
		color:#000000;
		text-align:center;
	}
	.allmovieslink {color:white;background:black;padding:4px;margin-left:5px;margin-right:5px;border-radius:8px;border:solid white 1px;margin-top:40px;}
	.allmovieslink a:link {color:white;margin-top:40px;}
	.allmovieslink a:visited {color:white;margin-top:40px;}
	.allmovieslink a:hover {color:white;margin-top:40px;}
	.allmovieslink a:active {color:white;margin-top:40px;}

	.navlinkbox {
		box-sizing:border-box;
		margin-left:4;
		margin-right:4;
		margin-top:5px;
		height:45px;
		border:solid #EEEEFE 2px;
		border-radius: 6px 6px 0 0;
		background:#ffffff;
		display:inline-block;
		padding:6px;
	}
	
	#sidebar {}
	.sidebar_container{
		max-width:200px;
		padding-left:10px;
		padding-right:20px;
		min-height:1150px;
		max-height:3000px;
		margin-left:50px;
	}
	.sidebarheading {
		font-size:22px;
		font-weight:300;
		text-decoration:none;
		color:#000000;
		text-align:center;
		box-sizing:border-box;
		background:#ffffff;
		padding:10px;
		border:solid #dddddd 2px;
		border-radius:6px 6px 0 0;
		width:200px;
	}
	
	.sidebarnavlink {
		font-size:22px;
		font-weight:300;
		text-decoration:none;
		color:#000000;
		text-align:center;
	}
	.sidebarnavlinkbox {
		box-sizing:border-box;
		margin-left:4;
		margin-right:4;
		margin-top:5px;
		height:45px;
		border-top:solid #EEEEFE 2px;
		border-radius: 6px 6px 0 0;
		background:#ffffff;
		display:block;
		padding:6px;
	}
	.wm_ref_link {
		box-sizing:border-box;
		margin-left:0;
		margin-right:0;
		margin-top:5px;
		height:45px;
		border:solid #EEEEFE 2px;
		border-radius: 6px 6px 0 0;
		background:#ffffff;
		display:inline-block;
		padding:6px;
		font-size:22px;
		font-weight:300;
		text-decoration:none;
		color:#000000;
		text-align:center;
	}

	.wm_page_heading {font-size:44px;font-weight:700;}

	.text_box1 {font-size:24px;font-weight:700;}

	html {min-height:100%;}
	body {margin:0;
		background:white; 
		min-height:100%;
	}

	.footer_container{
		width:100%;
		box-sizing:border-box;
		min-height:200px;
		background: linear-gradient(#DDDDDD, #AAAAAA, #777777); 
	  	box-shadow: 0px 20px 20px 7px black;
		margin-top:30px;
		clear:both;
	}
		.page_title_heading {
		width:100%;
		text-align:center;
		font-size:30px;
		font-weight:500;
		color:#000000;
		margin-top:20px;
		margin-bottom:20px;
	}
	.searchform_container {
		max-width:350px;
		margin-left:auto;
		margin-right:auto;
		padding:7px;
		background:#666666;
		border-radius:4px;
		text-align:center;
	}
	.searchbox {width:160px;height:20px;font-size:12px;
		background:#ffffff;color:#000000;
	}
	.searchsubmit{max-width:250px;font-size:12px;background:#DDDDDD;
		padding:4px;border-radius:5px;font-weight:700;}
	.pagenotfound {
		font-size:34px;
		color:black;
		margin-left:auto;
		margin-right:auto;
		max-width:80%;
		width:300px;
		text-align:center;

	}

	.mainlogo {

		height:40px;
		
	}
	.mainlogocontainer {
		width:280px;
		float:left;
		height:40px;;
	}

	.thbcell {
		box-sizing:border-box;
		display:inline-block;
		width:300px;
		height:300px;
		overflow:hidden;
		text-align:center;
		border-radius:6px 6px 6px 6px;
		margin-bottom:24px;
		margin-right:10px;
		margin-left:10px;
		background: white; 
		padding:0px 0px 40px 0px;
		font-family:helvetica,arial;
		border:solid #999999 1px;
		
	}
	.thbimage{
		width:100%;
		min-height:200px;
		max-height:220px;
		margin-bottom:20px;
		box-sizing:border-box;
		cursor:pointer;	
		border:solid #DDDDDD 2px;

	}
	.thbsponsorname {
		position:relative;
		bottom:15px;
		color:#000000;
		font-size:16px;
		font-weight:400;
		text-align:center;
		text-shadow: 0px 1px black;
		font-family:helvetica,arial;
	}
	.chtrm {
		display:none;
	}

	#camframe_id {width:80%;height:600px;}
	
	.modelnameheader, .modelnameheadersmall, .modelnameheadersmaller, 
	.modelnameheadersmallest, .modelnameheadertiny {
		box-sizing:border-box;
		padding:10px;
		border-radius:6px 6px 0 0;
		overflow:hidden;
		color:#000000;
		text-align:center;
		height:44px;
		font-size:22px;
		font-family:helvetica,arial;
		border-bottom:solid #999999 1px;
	}
	.modelnameheadersmall {font-size:20px;}
	.modelnameheadersmaller {font-size:18px;}
	.modelnameheadersmallest {font-size:16px;}
	.modelnameheadertiny {font-size:14px;}
	
	#cambox {
		width:80%;
		z-index:4;
		position:absolute;
		top:20px;
		right:10%;
		display:none;
		height:600px;
	}
		.chtrm_closebutton {
		background:red;
		font-size:35px;
		width:30px;
		padding:5px;
		color:white;
		text-align:center;
		border-radius:10px;
		border:dotted white 3px;
		float:left;
		margin-left:8px;
	}
	.videojoinlink {
		color:white;
		font-size:22px;
	  	font-family: "Times New Roman", Times, serif;
		background:#43285A;
		background: linear-gradient(#9B59B6,#F06292);
		max-width:300px;
		border-radius:20px;	
		text-align:center;
		margin-top:10px;
		margin-right:auto;
		margin-left:auto;
		
		
	}

	.videojoinlink a:link {color:white;}
	.videojoinlink a:visited {color:white;}
	.videojoinlink a:hover {color:magenta;}
	.videojoinlink a:active {color:green;}


	.joinhref {text-decoration:none;}

	#screen_overlay{
		display:none;
	}


	.moveipageslinks {
		color:#000000;
		padding:4px;
		background:#ffffff;
		border-radius:9px 9px 2px 2px;
		margin-left:10px;
		margin-right:10px;
		margin-bottom:10px;
		box-sizing:border-box;
		font-size:18px;
		display:inline-block;
		text-decoration:none;
	}

	.pagination_container {
		width:96%;
		max-width:1200px;
		margin-left:auto;
		margin-right:auto;
		text-align:center;
		margin-bottom:50px;
		margin-top:50px;
		font-weight:400;
	}
	.pgn_links {
		padding:10px;
    	border-top: #ffffff solid 2px;
    	background: linear-gradient(#999999, #CCCCCC);
		border-radius:6px;
		color:black;

		text-decoration:none;
		margin-left:2px;
		margin-right:2px;
		margin-bottom:10px;
		box-sizing:border-box;
		display:inline-block;
	}

	a.pgn_links_current{color:white;}


	.pgn_links_current {
		padding:10px;
		border-radius:4px;
		background:#555555;
		color:green;
		text-decoration:none;
		margin-left:2px;
		margin-right:2px;
		margin-bottom:10px;
	}
	.suggested_search_links {
		font-size:16px;
		font-weight:500;
		text-decoration:none;
		color:#000000;
		text-align:center;
	  	box-shadow: 0px 0px 3px 0px #77BB77;
	  	padding:4px;
	  	border-radius:4px;
	  	display:inline-block;
	  	margin-top:16px;
	  	margin-left:4px;
	  	background:white;
	}
	.suggested_search_container {
		margin-left:auto;
		margin-right:auto;
		max-width:90%;
		width:1800px;
		text-align:left;
	}
	.suggested_search_heading {
		font-size:20px;
		color:black;
	}

	.mobilenav{
		float:right;
		margin-right:40px;
		padding:5px;
		color:white;
		margin-left:20px;
		font-size:16px;
		font-weight:220;
		background:#999999;
		display:none;
	}
	.toplinkscont{
		float:right;
	}
	.link1 {color:black;text-decoration:none;font-size:14px;
		line-height:18px;font-family:helvetica,arial;}
	.mobilemenucont {display:none;}
	.mobilemenudisplay{display:block;padding:10px;
		background:#f8f8fb;
	    border-radius: 10px;
    	border: solid #e5eaf1 1px;
    }
	.mobilemenuhide{display:none;}
	
	.watchpornmovies_cont{
		width:80%;margin-left:auto;margin-right:auto;
	}
	.watchpornmovies{
		text-align:center;font-size:34px;margin-left:auto;margin-right:auto;
	}
		.showmore {
		border-top: #666666 solid 2px;
    	background: linear-gradient(#999999, #444444);
		color:white;
		margin-bottom:10px;
		margin-right:20px;
		margin-top:5px;
	}
	/* Get more fonts from https://www.fontspace.com/ */
	@font-face {
	  font-family: logofont;
	  src: url(<?php echo $site_directory . "/myfonts/AspireDemibold-YaaO.ttf"; ?>);

	}
	@font-face {
	  font-family: bodyfont;
	  src: url(<?php echo $site_directory . "/myfonts/VanityBoldwideitalic-K7dmo.otf"; ?>);
	  font-style:italic;
	}
	@font-face {
	  font-family: thbfont;
	  src: url(<?php echo $site_directory . "/myfonts/AspireDemibold-YaaO.ttf"; ?>);

	}
	@font-face {
	  font-family: alllinks;
	  src: url(<?php echo $site_directory . "/myfonts/Foglihtenno07calt-YBn2.otf"; ?>);

	}
	.thb_topic {
		position:relative;top:400px;color:white;font-size:30px;
		background:rgb(0,0,0,.2);padding:4px;border-radius:5px;
		font-family:thbfont;
		height:180px;
	}
	.textlogo {
		font-family:Georgia,helvetica,arial,"Arial Black";
		font-size:24px;
		color: #6d9dda;
		letter-spacing: 1px;
		text-decoration: none;
		margin-left:5px;
		font-style:italic;
		
	}
	.textlogo:link, .textlogo:visited, .textlogo:hover {
		color: black;
	}

	/*a, .thbcell {font-family:Georgia;}*/
	
.musername {text-align:center;font-size:22px;font-weight:800;color:black;} 
.mtopic, .turns_on, .turns_off, .mtag {
	text-align:center;padding:5px;font-size:22px;font-weight:800;
}
.mtopic{color:black;width:70%;max-width:600px;margin-left:auto;margin-right:auto;}
.turns_on{color:black;}
.turns_off{color:black;}
.mtag{
	border-top: #AAAAAA solid 2px;
	background: linear-gradient(#443377, #6655AA);
	color:white;
	display:inline-block;
	border-radius:6px;
}
.minfotags {margin:10px;}
.taglink {display:inline-block;margin-right:6px;
	border-radius:6px;margin-bottom:10px;}

.related_box {width:80%;max-width:1200px;margin-left:auto;margin-right:auto;}
.related_thb {display:inline-block;
	width:30%;margin:4px;
	border:solid #000000 2px;border-radius:5px;
	max-height:250px;}
.related_box_heading {width:88%;
	background: linear-gradient(#DDDDDD, #AAAAAA, #666666);
	font-size:32px;
	font-weight:700;
	color:black;
	padding:5px;
	text-align:left;
	margin:4px;
	margin-left:auto;margin-right:auto;
	border:solid #AAAAAA 1px;
}

a {text-decoration:none;}
.modelisoffline {color:pink;font-size:32px;font-face:Georgia;}

#camsLiveBanner {width:700px;height:600px;}

.fa {text-align:center}

.fa1 :link, .fa1 :hover, .fa1 :active ,.fa1 :visited {color:yellow;}

.fa1 {
	width:30%;
	max-width:800px;
	display:inline-block;
	vertical-align:top;
	margin-right:1%;
	margin-left:1%;
	margin-top:20px;
	border-radius:10px 10px 10px 10px;
}
.fa_desc {
	font-size:14px;
	color:#000000;
	word-break:break-word;
	padding:10px;
	text-align:left;
}
.fa_link {text-decoration:none;}
.fa_img {
	width:100%;
	margin-bottom:2px;
	border-radius:0px 0px 10px 10px;
}
.fa1_head {
	background: linear-gradient(#444499, #222266);
    border-top: solid #ffffff 2px;
	color:pink;
	font-size:22px;
	text-align:center;
	padding:10px;
	border-radius:10px 10px 0px 0px;
	
}
.fa_head {
		background:#000000;
		text-align:center;
		padding:10px;
}
.fa_head_mn {
	color:magenta;
	font-size:34px;
}
.fa_head_label {
	color:#2c78a7;
	font-size:40px;

}
.fa_desc_model {
	color:white;
	font-size:18px;
	margin-left:auto;
	margin-right:auto;
}

@media(max-width:1200px) {
	.fa1 {
		width:45%;
		margin-right:1%;
		margin-left:1%;
	}

}
@media(max-width:720px) {
	.fa1 {
		width:80%;
		margin-right:auto;
		margin-left:auto;
		display:block;
	}

}

@media(max-width:950px) {
 	.camdiv {width:700px;height:600px;}
	#camsLiveBanner {width:700px;height:600px;}
}
@media(max-width:700px) {
 .camdiv {width:500px;height:700px;}
 #camsLiveBanner {width:500px;height:600px;}
}
@media(max-width:500px) {
 .camdiv {width:400px;height:800px;}
 #camsLiveBanner {width:400px;height:600px;}
 .textlogo {
    font-size: 30px;
 }
 .allmovieslink{font-size:12px;}
}
@media(max-width:380px) {
 .textlogo {
    font-size: 24px;
 }
}
@media(max-width:300px) {
 .camdiv {width:300px;height:800px;}
 #camsLiveBanner {width:300px;height:600px;}
 .textlogo {
    font-size: 20px;
 }
}
@media only screen and (max-width:1100px) {
	#cambox {
		width:98%;
		top:5px;
		right:2px;
		overflow:scroll;
		height:500px;
	}

}
@media only screen and (max-width:800px) {
	.topTextSponsorLink {
		font-size:20px;
		font-weight:500;
	}

}
@media only screen and (min-width:621px) {
	#mobilemenucont{display:none;}
	
	.modelnameheader{
		font-size:22px;
		height:44px;
		font-family:arial;

	}
}
@media only screen and (max-width:620px) {
	.mobilenav {
		float-right;
		/*display:block;*/
	}
	#toplinkscont {
		/*display:none;*/
	}

	.header_container {
		height:70px;
	}
	.topTextSponsorLink {
		font-size:18px;
		font-weight:300;
	  	padding:5px;

	}
}
@media only screen and (max-width:600px) {
	#sidebar {display:none;}
	.thbcell {width:80%;height:320px;max-width:330px;}
	.mainlogo {

		height:30px;
	}
	.mainlogocontainer {
		width:150px;
		float:left;
		height:30px;
	}
	.modelnameheader{
		font-size:18px;
		height:44px;
	}
	.thbimage{}
}
@media only screen and (max-width:400px) {

	.thbcell {width:80%;height:280px;margin-bottom:15px;max-width:230px;}
	.thbimage{min-height:200px;margin-bottom:0;}
	.mainlogo {

		height:25px;
	}
	.mainlogocontainer {
		width:80px;
		float:left;
		height:25px;
	}
	.header_container {
		height:45px;
	}
	.modelnameheader{
		font-size:16px;
		height:44px;
	}
}
@media only screen and (max-width:300px) {
	.searchbox{width:80px;}
	.thbcell {width:80%;height:280px;margin-bottom:15px;max-width:220px;}
}
.dropdown {
	display:none;
}

</style>







<style>
.stripchat_player {
	width:100%;
	max-width:1100px;
	border:solid #999 2px;
	border-radius:10px;
	margin-left:auto;
	margin-right:auto;
}
.camplayerbox {
	padding:20px;
	border:solid #999 2px;
	border-radius:10px;	
	background:#333;
	max-width:1100px;
	text-align:center;
	margin-top:3em;
	margin-bottom:2em;
	margin-left:auto;
	margin-right:auto;
	background: -webkit-linear-gradient(#888,#DDD,#AAA, #999,#777,#888,#DDD,#AAA, #999,#666); 
	background: -o-linear-gradient(#888,#DDD,#AAA, #999,#777,#888,#DDD,#AAA, #999,#666); 
	background: -moz-linear-gradient(#888,#DDD,#AAA, #999,#777,#888,#DDD,#AAA, #999,#666); 
	background: linear-gradient(#888,#DDD,#AAA, #999,#777,#888,#DDD,#AAA, #999,#666); 
	box-sizing:border-box;

}
	

.playbutton1 {
	font-size:20px;
	color:white;
	background:green;
	background: -webkit-linear-gradient(#448,#99D); 
	background: -o-linear-gradient(#448,#99D); 
	background: -moz-linear-gradient(#448,#99D); 
	background: linear-gradient(#448,#99D); 
	border-radius:5px;
	padding:10px;
	width:75%;
	max-width:300px;
	margin-top:20px;
	min-height:55px;

}
.scplayertext {
	color:#555;
	margin-left:10px;
	margin-bottom:50%;
}

@media(max-width:620px) {
.playbutton1 {
	font-size:1em;
	margin-top:2px;
}
.camplayerbox {
	padding:6px;
}
	
}
</style>

</head>
<body>

<!-- script type="application/javascript" src="https://go.cam/static/js/app/avsHosted.js?p=882&key=XjtN1QAUqHBi54BmVLUPryok5U8BF1hBmC0tRG1rcYU&background=ffffff&foreground=000000&buttonBackground=9acd1f&buttonForeground=ffffff&language=en&autoStart=1"></script -->




<div class="header_container">
<?php // This line cmmented out in php to use text based name insted of image logo
/*	<div class="mainlogocontainer"><a href="<?php echo $site_directory; ?>/"><img class="mainlogo" src="<?php echo $site_directory; ?>/themes/<?php echo $template."/".$site_logo; ?>" alt="<?php echo $site_title; ?>"></a></div>
*/
?>
	<div class="mainlogocontainer"><a class=textlogo href="<?php echo $site_directory.$theme; ?>/"><span><?php echo $site_title; ?></span></a></div>

<div>
	<div id=toplinkscont>
<a href="<?php echo $site_directory;?>/video/allmovies<?php if(!empty($clean_req['themestyle'])) {echo "/theme/" . $clean_req['themestyle'];}?>" class='allmovieslink' >Allmovies</a>
<a href="<?php echo $site_directory;?>/cams/allcams<?php if(!empty($clean_req['themestyle'])) {echo "/theme/" . $clean_req['themestyle'];}?>" class='allmovieslink' >Allcams</a>


		
		
		<span onclick="showmoretoplinks();" class="suggested_search_links showmore">Search &#9662;</span>


		
		</div><!-- toplinkscont -->
		
		<style>
			.dropdown {
				display:none;
			}
		</style>


	<span class=mobilenav onclick="togmobilenav()">&#9776;</span>
	
	<script>
		xtog = 0;
		function togmobilenav() {
			if(xtog == 0){
				xtog = 1;
				t=document.getElementById('toplinkscont').innerHTML;
				document.getElementById('mobilemenucont').innerHTML = t+"<br>";
				document.getElementById('mobilemenucont').className="mobilemenudisplay";
			} else {
				xtog = 0;
				document.getElementById('mobilemenucont').innerHTML = "";
				document.getElementById('mobilemenucont').className="mobilemenucont";
			}
		
		}

	</script>
	
	</div>
	
<?php	
	if( ($run_test_themes == "yes") && (strpos($_SERVER['REQUEST_URI'], "search1.php") === false ) )  {
?>
	<span style="position:fixed;bottom:10px;right:20px;z-index:4;width:100px;"><?php include(__DIR__ . "../../../available_themes.php"); ?>
<?php }	?>


</div>

<script>
	var tog_more = 0;
	var sm = [];
	function showmoretoplinks(){
		if (tog_more == 0) {	
			xsw = document.getElementsByClassName('dropdown');
			for(i=0;i<xsw.length;i++){
				xsw[i].style.display="block";
			}
			tog_more=1;
			sm = document.getElementsByClassName('showmore');
			sm[0].innerHTML = "Close &#9652;";
			if(sm.length > 1) {sm[1].innerHTML = "Close &#9652;";}
			
		}else{
			xsw = document.getElementsByClassName('dropdown');
			for(i=0;i<xsw.length;i++){
				xsw[i].style.display="none";
			}				
			tog_more=0;
			sm = document.getElementsByClassName('showmore');
			sm[0].innerHTML = "Search &#9662;";
			if(sm.length > 1) {sm[1].innerHTML = "Search &#9662;";}
			
		}
	

	}
</script>
<!-- div style="clear:both;">&nbsp;<div -->
<?php
	if (!empty($clean_req['camfeed'])) {

		$checkfeed = cleanname_replace($clean_req['camfeed']);

	}
	if (!empty($clean_req['moviefeed'])) {
		$checkfeed = cleanname_replace($clean_req['moviefeed']);

	}
?>

<div id=mobilemenucont></div>

		
<div class="searchform_container dropdown">
	<form  method=post action="<?php echo $site_directory; ?>/search1.php">
		<input type=hidden name=db value="<?php echo !empty($clean_req['db']) ?  $clean_req['db'] :  $checkfeed ?>">
		<input class="searchbox" id=searchinput onclick="clearsearch()" type=text name=search value="<?php echo empty($clean_req['search']) ? 'search' : $clean_req['search'] ?>">
		<input type=hidden name=media_type value="<?php echo  $media_type; ?>">
		<input type=hidden name=searchedform value="searchedform">
		<input type=hidden name=page value="1">
		
		<?php if($run_test_themes == "yes"){echo "<input type=hidden name=themestyle value=\"$themestyle\">";} ?>
		<?php if($media_type == "cams") { ?> 
				<input type=hidden name=camfeed value="<?php  echo $checkfeed ?>">
		<?php } ?>
			<?php if($media_type == "movies") { ?> 
				<input type=hidden name=moviefeed value="<?php  echo $checkfeed ?>">
		<?php } ?>
			<?php if($media_type == "video") { ?> 
				<input type=hidden name=videofeed value="1">
		<?php } ?>
		
		<? /* php if( (!empty($clean_req['themestyle'])) && ($run_test_themes == "yes") ) {
			if(in_array($clean_req['themestyle'], $allowed_themes)){
				$template = $clean_req['themestyle'];
				$theme = "/theme/$template";
		*/?>
				<input type=hidden name=themestyle value="<?php echo $template; ?>">
		<? /* php
			}else{
				echo "ERROR! Not allowed.";exit();
			}
			
		}
		 */ ?>
		 
		 
		<input class="searchsubmit" type=submit value="search">
	</form>
</div>


<div class="page_title_heading">
<?php 

	if (!empty($movie_page_title[$checkfeed]) ) {
		echo "<a class=\"topTextSponsorLink\" href=\"" . $movie_join_link[$checkfeed] . "\">Click here to join " . $movie_page_title[$checkfeed] . "</a>"; 
	} 
	if (!empty($cam_site_names[$checkfeed]) ) {
		echo "<a style=\"color:black;border:solid black 1px;padding:5px;border-radius:8px;\" href=" . $site_directory . "/" . $media_type . "/" . strtolower($cam_site_names[$checkfeed]) . $theme . ">$cam_site_names[$checkfeed]</a>"; 
		if($doingsearch){echo "<span style=\"color:black;\">  : " . ucwords($clean_req['search']) . "</span>";}


	} 


?>

</div>

<?php

	if ( !empty($clean_req['model_profile']) || !empty($clean_req['clip']) )  {
		$use_sidebar = "no";
	}
	if ($use_sidebar == "yes") {
		include("sidebar.php");
	
	}
	
	echo "<div class=\"content_main\"style=\"\">";
?>
