<?php // Script Copyright 2026 Econfirmpro ?>
<?php global $themestyle,$stripchat_id;?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="description" content="<?php echo !empty($page_description) ? $page_description : ""; ?>">
<meta name="keywords" content="<?php echo !empty($page_keywords) ? $page_keywords : ""; ?>">
<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 $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>
<title><?php echo $page_title; ?><?php if($doingsearch){echo " Search " . " " . $clean_req['search'];}else{echo " "; }  ?></title>
<style>
	.content_main {text-align:center;clear:both;}
	.header_container {
		padding:4px;
		width:100%;
		background:#1C2833;
		margin-top:0;
		margin-bottom:20px;
		padding-top:5px;
    		box-sizing: border-box;
		text-align:right;
	  	box-shadow: 0px 0px 20px 0px black;
	  	clear:both;
		padding-top:10px;
		padding-bottom:10px;
		min-height:50px;


	}

	.topTextSponsorLink {
		font-size: 28px;
		font-weight: 500;
		text-decoration: none;
		color: #b2b2bb;
		text-align: center;
		box-shadow: 0px 0px 7px 0px #ffffff;
		padding: 10px;
		border-radius: 10px;
	}

	.allmovieslink {color:#6d9dda;background:black;padding:4px;margin-left:20px;margin-right:5px;border-radius:8px;border:solid white 2px;margin-top:25px;}
	.allmovieslink a:link {color:#6d9dda;}
	.allmovieslink a:visited {color:#6d9dda;}
	.allmovieslink a:hover {color:#6d9dda;}
	.allmovieslink a:active {color:#6d9dda;}

	.topnavlink {
		font-size:22px;
		font-weight:300;
		text-decoration:none;
		color:#000000;
		text-align:center;
	}
	.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:#ffffff;
		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:#a2a1d4;
		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;color:white}

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

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

	.footer_container{
		width:100%;
		box-sizing:border-box;
		min-height:200px;
		background:#1C2833;
	  	box-shadow: 0px 20px 20px 7px white;
		margin-top:30px;
		clear:both;
	}

	.page_title_heading {
		width:100%;
		text-align:center;
		font-size:30px;
		font-weight:500;
		color:#9c9cab;
		margin-top:20px;
		margin-bottom:20px;
	}
	.searchform_container {
		max-width:350px;
		margin-left:auto;
		margin-right:auto;
		padding:7px;
		background:#535361;
		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:white;
		margin-left:auto;
		margin-right:auto;
		max-width:80%;
		width:300px;
		text-align:center;

	}

	.mainlogo {

		height:40px;
	}
	.mainlogocontainer {
		width:80px;
		float:left;
		height:40px;
		clear:both;
	}

	.thbcell {
		box-sizing:border-box;
		display:inline-block;
		width:300px;
		height:560px;
		overflow:hidden;
		text-align:center;
		border-radius:6px 6px 6px 6px;
background: linear-gradient(#777777,#dddddd,#444444,#222222,#11111f);

	}
	.thbimage{
		width:100%;
		min-height:260px;
		box-sizing:border-box;
		cursor:pointer;	

	}

	.box1container{width:90%;height:560px;display:inline-block;text-align:center;margin-bottom:22px;}
	.box1-right{box-sizing:border-box;display:inline-block;font-size:30px;background:#555555;color:#DDDDDD;width:44%;height:100%;vertical-align:top;padding:10px;text-align:middle;
		  background: linear-gradient(#777777,#dddddd,#444444,#222222,#11111f);margin:0;overflow-y:auto;}
	.box1-left{box-sizing:border-box;display:inline-block;width:44%;height:100%;vertical-align:top;
			  background: linear-gradient(#777777,#dddddd,#444444,#222222,#11111f);margin:0;
			  box-shadow:0px 0px 6px 0px white;cursor:pointer;}
	}
	
	
	
	
	
	.chtrm {
		display:none;
	}

	.modelnameheader{
		box-sizing:border-box;
		background:#ffffff;
		padding:10px;
		border-radius:6px 6px 0 0;
		border: solid #dddddd 2px;
		font-size:22px;
		overflow:hidden;
		color:#000000;
		text-align:center;
		height:60px;

	}
	
	.mname {color:#b7b7b7;font-size:44px;background:rgb(0,0,0,.2);padding:4px;border-radius:5px;
	  font-family: namehead;
	 }

	.mname2 {
		position: relative;
		color: white;
		font-size: 20px;
		padding: 4px;
		border-radius: 5px;
		text-shadow: 1px 2px black;
		font-weight: 900;
		float: left;
		top: 90%;
		margin-left: 2px;
    }

	#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";
		background:#43285A;
		background: -webkit-linear-gradient(#9B59B6,#F06292);
		background: -o-linear-gradient(#9B59B6,#F06292);
		background: -moz-linear-gradient(#9B59B6,#F06292);
		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: #e6e8f1;
		border-radius: 4px;
		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:solid #000000 2px;
		border-radius:6px;
		color:#000000;
		background:#ffffff;
		text-decoration:none;
		margin-left:2px;
		margin-right:2px;
		margin-bottom:10px;
		box-sizing:border-box;
		display:inline-block;
	}



	.pgn_links_current {
		padding:10px;
		border-radius:4px;
		background:#999999;
		color:black;
		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: #211d1d;
		text-align: center;
		box-shadow: 0px 0px 5px 0px #999999;
		padding: 4px;
		border-radius: 4px;
		display: inline-block;
		margin-top: 16px;
		margin-left: 4px;
		background: #e6e8f1;
	}
	.suggested_search_container {
		margin-left:auto;
		margin-right:auto;
		max-width:90%;
		width:1800px;
		text-align:left;
	}
	.suggested_search_heading {
		font-size:20px;
		color:#9c9cab;
	}

	.mobilenav{
		float:right;
		margin-right:40px;
		padding:5px;
		color:white;
		margin-left:20px;
		font-size:16px;
		font-weight:220;
		background:#999999;
		display:none;
	}
	
	.searchnav{
		float:right;
		margin-right:40px;
		padding:5px;
		color:white;
		margin-left:20px;
		font-size:16px;
		font-weight:220;
	}	
	
	
	
	.toplinkscont{
		float:right;
	}
	.link1, a.link1:visited,a.link1:link {color:#9c9cab;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;color:#9c9cab;
	}
	
	.showmore {
		background:#FFDDDF;
		color:#000000;
	}

	/* 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"; ?>);

	}
	@font-face {
	  font-family: namehead;
	  src: url(<?php echo $site_directory . "/myfonts/BlackWindow-WEyG.ttf"; ?>);

	}
	@font-face {
	  font-family: hottext;
	  src: url(<?php echo $site_directory . "/myfonts/CookieRegular-ow3OV.ttf"; ?>);

	}
	
	@font-face {
	  font-family: link2;
	  src: url(<?php echo $site_directory . "/myfonts/AmaranteRegular-jeJj.ttf"; ?>);

	}	
	
	.thb_topic {
		color:black;box-shadow:0px 0px 6px 0px white;background:rgb(0,0,0,.2);padding:4px;border-radius:5px;
		font-family:thbfont;
		background: linear-gradient(#777777,#dddddd,#444444);
	}
	.topictext {
		    font-size:45px;font-family: thbfont;
		    text-shadow: 0px 2px #59aec1;

	}
	.textlogo {
		font-family: logofont;
		font-size: 40px;
		color: #6d9dda;
		letter-spacing: 1px;
		text-decoration: none;
		margin-left:5px;		
	}

	.thbcell {font-family:alllinks}
	a {	  font-family: link2;}

.minfo {
	font-size:22px;
	color:white;
	width:94%;
	max-width:850px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px;
	margin-top:10px;
}
.musername {text-align:center;} 
.mtopic, .turns_on, .turns_off, .mtag {padding:3px;}
.mtopic{color:magenta;}
.turns_on{color:aqua;}
.turns_off{color:aqua;}
.mtag{color:yellow;display:inline-block;}
.minfotags {margin-top:10px;}
.taglink {display:inline-block;margin-right:6px;border:solid #AEAECE 2px;border-radius:6px;}


.related_box {width:80%;max-width:1200px;margin-left:auto;margin-right:auto;}
.related_thb {display:inline-block;width:30%;margin:4px;border:solid #98b7c5 2px;border-radius:5px;}
.related_box_heading {width:88%;
	background:#3a4954;
	font-size:32px;
	font-weight:700;
	color:white;
	padding:5px;
	text-align:left;
	margin:4px;
	margin-left:auto;margin-right:auto;
}
.modelisoffline {color:pink;font-size:32px;font-face:Georgia;}

@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;
	}
	.topictext {
		font-size:30px;
	}
	.box1container{	
		height:278px;
	}
	.mname{font-size:32px;}
}
@media(min-width:621px) {
	#mobilemenucont{display:none;}
	
	.modelnameheader{
		padding:5px;
		font-size:16px;
		height:44px;
	}
}
@media(max-width:620px) {
	.mobilenav {
		float-right;
		display:block;
	}


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

	}

}
	
@media only screen and (max-width:600px) {

 	.allmovieslink{font-size:12px;}
	#sidebar {display:none;}

	.mainlogo {

		height:30px;
	}
	.mainlogocontainer {
		width:80px;
		float:left;
		height:30px;
	}
	.modelnameheader{
		font-size:18px;
		height:44px;
	}


	.box1container{	
		height:250px;
	}
	
	.box1-right{
		width:30%;
	}
	.box1-left{
		width:62%;
	}
	.topictext {
		font-size:24px;
	}
	.mname{font-size:22px;}
	.mname2 {
		font-size:14px;
		top: 77%;
	}
@media only screen and (max-width:400px) {

	.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;
	}
	.thb_topic {
		top:220px;font-size:16px;
		
	}
	.box1container{	
		height:150px;
	}
	.mname{font-size:16px;}
	.topictext {
		font-size:16px;
		text-shadow:none;
	}
	
	.searchnav{
		margin-right:2px;
	}	
}


@media only screen and (max-width:300px) {
	.searchbox{width:80px;}
	.thbcell {width:64%;height:150px;}
}

</style>







<script>

function clearsearch() {
  document.getElementById("searchinput").value = "";
}

function showchtrm(id, sponsor){

	var allx = [];
	allx = document.getElementsByClassName('camwindow');
	for(i=0;i<allx.length;i++){
		z=allx[i].id;
		document.getElementById(z).style.display="none";
	}

	qx = document.getElementById('cambox');
	qx.style.display="block";
	qx.style.top=(window.pageYOffset) + "px";
if (sponsor == 'stripchat') {

	var plyfacts = [];
	plyfacts = id.split("|");

	qx.innerHTML='<div class=\"chtrm_closebutton\" onclick=\"closechtrm();\" style=\"\">X</div>'+
'<div id="camplayer" class="camplayerbox"><canvas id="canvas" class="stripchat_player"></canvas><a href="https://go.stripchat.com/?userId=' + '<?php echo $stripchat_id; ?>' + '&path=/' + plyfacts[4] + 
'"> <button class="playbutton1">Chat With This Model</button></a></div>';

	startpl(plyfacts[3], plyfacts[2], plyfacts[1]);

}else if (sponsor == 'cams') {

	qx.innerHTML='<div class=\"chtrm_closebutton\" onclick=\"closechtrm();\" style=\"\">X</div><iframe width=600 height=500 src="https://banners.cams.com/banners/streamray/live/banner.html?pid=g248918-pmob&cib=1&w=600&h=400&l=https%3A%2F%2Fsecureimage.securedataimages.com%2Fimages%2Fcams%2Fbanners%2Fmicro_logo_new.png&d=https%3A%2F%2Fsecure.cams.com%2Fgo%2Fpage%2Fcams%2Fview.cgi%3Fpid%3Dg248918-pmob%26stream%3D%7bstream%7d%26action%3Dview&g=F&v=0&c=1&m=&md=any&cb=cams.com" scrolling="yes" frameBorder="0" id="camsLiveBanner"></iframe>';
}else if (sponsor == 'movies') {
	qx.innerHTML="<div class=\"chtrm_closebutton\" onclick=\"closechtrm();\" style=\"\">X</div><video width=\"100%\"  controls poster=\"poster\" >  <source src=\"" + id + "\" type=\"video/mp4\"></video>";


}else {

	qx.innerHTML="<div class=\"chtrm_closebutton\" onclick=\"closechtrm();\" style=\"\">X</div><iframe width=\"100%\" height=\"100%\"  src='" + id + "' ></iframe>";

}
	var ovlay = document.getElementById('screen_overlay');
	ovlay.style.display="block";
	ovlay.style.position="fixed";
	ovlay.style.top="0px";
	ovlay.style.left="0px";
	ovlay.style.background="rgba(0,0,0,.8)";
	ovlay.style.boxSizing="border-box";
	ovlay.style.zIndex="2";
	ovlay.style.width="100%";
	ovlay.style.height="100%";
}


function showmovie(id, poster, sponsor, sitelink){

	var allx = [];
	allx = document.getElementsByClassName('camwindow');
	for(i=0;i<allx.length;i++){
		z=allx[i].id;
		document.getElementById(z).style.display="none";
	}

	qx = document.getElementById('cambox');
	qx.style.display="block";
	qx.style.top=(window.pageYOffset) + "px";

	qx.innerHTML="<div class=\"chtrm_closebutton\" onclick=\"closechtrm();\" style=\"\">X</div><div class=videojoinlink><a class=joinhref href=\""+sitelink+"\">Join "+sponsor+"</a></div><video width=\"100%\"  controls poster=\"" + poster + "\" >  <source src=\"" + id + "\" type=\"video/mp4\"></video>";



	var ovlay = document.getElementById('screen_overlay');
	ovlay.style.display="block";
	ovlay.style.position="fixed";
	ovlay.style.top="0px";
	ovlay.style.left="0px";
	ovlay.style.background="rgba(0,0,0,.8)";
	ovlay.style.boxSizing="border-box";
	ovlay.style.zIndex="2";
	ovlay.style.width="100%";
	ovlay.style.height="100%";
}


function closechtrm() {

	qx = document.getElementById('cambox');
	qx.innerHTML = "";
	qx.style.display="none";

	var ovlay = document.getElementById('screen_overlay');
	ovlay.style.display="none";
	ovlay.style.position="static";
}



  function startpl(model_id, model_token, model_server, model_username) {
	var canvasRef = document.getElementById('canvas');
	var modelId = model_id;
	var modelToken = model_token;
	var modelSnapshotServer = model_server;
	var model_username = model_username;
	var player;

    player = new StripchatPlayer();
      player.setCanvasRef(canvasRef);
      player.setModelId(modelId);
      player.setModelToken(modelToken);
      player.setModelSnapshotServer(modelSnapshotServer);
      player.mount();
  }

</script>

<!-- script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script -->
<!-- script src="/js/player.js"></script -->
<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>

		
		<style>
			#toplinkscont {
				display:none;
			}
		</style>

<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 class=searchnav onclick="togseachnav()">Search&#128270;</span>
	
	<script>
		xtog = 0;
		function togseachnav() {

			if(xtog == 0){		
				xtog = 1;
				document.getElementById('toplinkscont').style.display="block";


			} else {
				xtog = 0;
				document.getElementById('toplinkscont').style.display="none";

			}
		
		}

	</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="inline-block";
			}
			tog_more=1;
			sm = document.getElementsByClassName('showmore');
			sm[0].innerHTML = "Less &#9652;";
			if(sm.length > 1) {sm[1].innerHTML = "Less &#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 = "More &#9662;";
			if(sm.length > 1) {sm[1].innerHTML = "More &#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=toplinkscont>






<div class="searchform_container">
	<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($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 } ?>
		

		<input type=hidden name=themestyle value="dgray_box1"> <!-- theme name here  -->
		
		
		
		<input class="searchsubmit" type=submit value="search">
	</form>
</div>
		
		



		
		</div><!-- toplinkscont -->

<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:white;border:solid white 1px;border-radius:8px;padding:5px;\" href=" . $site_directory . "/" . $media_type . "/" . strtolower($cam_site_names[$checkfeed]) . $theme . ">$cam_site_names[$checkfeed]</a>"; 
		if($doingsearch){echo "<span style=\"color:white;\">  : " . ucwords($clean_req['search']) . "</span>";}


	} 
?>

</div>

<?php
	if ($use_sidebar == "yes") {
		include(__DIR__ . "/themes/$template/sidebar.php");
	
	}
	//echo "<br><br>";
	echo "<div class=\"content_main\"style=\"\">";
?>
