File: /home/httpd/html/tubeshemale.com/public_html/templates_OLD_JUNK/template.video_content.php
<div id="videoleft">
<div class="contents">
<div id="player">
<? if($rrow[embed]) { ?>
<? echo resizeEmbedded($rrow[embed],640,500); ?>
<? } else { ?>
<div id="myAlternativeContent" style="margin: 0 auto;"> You need to upgrade your Flash Player to view the videos. You can upgrade it (for free) here: <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash</a></div>
<script type="text/javascript">
<? if($rrow[movie_height]/$rrow[movie_width] == 0.75) { ?>
var s1 = new SWFObject("http://www.tubeshemale.com/player.swf","ply","640","500","9","#000000");
<? } else { ?>
var s1 = new SWFObject("http://www.tubeshemale.com/player.swf","ply","640","500","9","#000000");
<? } ?>
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
<? if($rrow[hotlinked]) { $fileurl = $rrow[hotlinked]; } else { $fileurl = $rrow[filename]; } ?>
s1.addParam("flashvars","overlay=<? echo getThumbUrl($rrow[orig_filename],$rrow[filename],$rrow[main_thumb],true); ?>&settings=<? echo $basehttp; ?>/playerConfig.php?<? echo rawurlencode($fileurl); ?>|<? echo $rrow[paysite]; ?>");
s1.write("myAlternativeContent");
</script>
<? } ?>
<!-- id="player" --></div>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f994de2201f941a"></script>
<!-- AddThis Button END -->
<div id="vid_sponsor"><? include($basepath.'/includes/ads/video-sponsor.php'); ?></div>
<div class="title-wrapper">
<div class="title">
<div class="title-right">
<? echo $rrow[title]; ?> <!-- class="title-right" --></div>
<!-- class="title" --></div>
<div class="ratetxt">Rated:</div>
<? include($basepath.'/rating/_drawrating.php'); echo rating_bar($_GET[id],5); ?>
<!-- class="title-wrapper" --></div>
<div class="clear"></div>
<div id="player-text-box"><div id="player-desc">
<? echo $rrow[description]; ?>
<!-- id="player-desc" --></div>
<div id="player-info">
Categories:
<? /* Usage: buildChannels(record_num,mode);
mode can be 'channels' or 'search' */
echo buildChannels($rrow[record_num],'channels');
?>
<br>
Tags:
<? /* Usage: buildTags(string,'seperator');
seperator should be a string, such as ' ', or ','. By default, it uses a comma. */
echo buildTags($rrow[keywords]);
?>
<br>
<div id="player-bottom">
<span>Added on :<? echo $rrow[encoded_date]; ?></span>
<span>Views: <? echo $rrow[views]; ?></span>
<span>Runtime: <? echo sec2time($rrow[length]); ?></span>
<span>Submitted by: <a href='<? echo $basehttp; ?>/profiles/<? echo $rrow[submitter]; ?>.html'><? echo $rrow[username]; ?></a></span>
<!-- id="player-info-left" --></div>
<!-- id="player-info" --></div></div>
<div id="player-info-right">
<a href="<? echo $basehttp; ?>/action.php?action=add_favorites&id=<? echo $rrow[record_num]; ?>">ADD TO FAVORITES</a>
<!-- id="player-info-right" --></div>
<div class="clear"></div>
<!-- class="contents" --></div>
<!-- div id="left" --></div>
<div id="videoright" class="top_content">
<? include($basepath.'/includes/ads/video-right.php'); ?>
</div>
<div class="clear"></div>
<div class="full-title-wrapper">
<div class="title">
<div class="title-right">
Comments
<!-- class="title-right" --></div>
<!-- class="title" --></div>
<!-- class="title-wrapper" --></div>
<div class="clear"></div>
<div class="contents">
<div id="ajaxComments"><!-- comments will display here --></div>
<script language="javascript">
$("#ajaxComments").load("<? echo $basehttp; ?>/templates/template.ajax_comments.php?id=<? echo $_GET[id]; ?>");
function reloadComments() {
$("#ajaxComments").load("<? echo $basehttp; ?>/templates/template.ajax_comments.php?id=<? echo $_GET[id]; ?>");
}
</script>
<? if($_SESSION[userid]) { ?>
<form class="comments-form" id="myform" name="comments" action="javascript:get(document.getElementById('myform')); reloadComments();">
<input type='hidden' name='id' id='id' value='<? echo $rrow[record_num]; ?>'>
<span name="myspan" id="myspan"></span>
<textarea name="comment" id="comment"></textarea><br>
<input type="submit" name="button" id="button" value="Post Comment">
</form>
<? } else { ?>
<p>You must be logged in to post comments. Please <a href='/login.php'>login</a> or <a href='/signup.php'>signup (free)</a>.</p>
<? } ?>
<!-- class="contents" --></div>
<div class="full-title-wrapper">
<div class="title">
<div class="title-right">
Related Content
<!-- class="title-right" --></div>
<!-- class="title" --></div>
<!-- class="title-wrapper" --></div>
<?
/* Usage: showRelated("String To Search", Template To Use, ID To Exclude, Number To Display); */
showRelated("$rrow[keywords] $rrow[title]",$basepath.'/templates/template.content_item.php',$rrow[record_num],8);
?>
<!-- class="title-right" --></div>
<!-- class="title" --></div>
<!-- class="title-wrapper" --></div>