Files
Testing/leptesting/community_v2.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

156 lines
6.5 KiB
Smarty

{include file='header_community.tpl'}
{* $Id: community.tpl 12 2012-03-26 06:04:12Z phil $ *}
{if $user->user_info.user_id>0}
<div style="position:relative;" id="community_wrap">
<div id="main_left_column">
<div id="thewall" class="full-left-column brad-ten">
<div class="cheading"><h2>Community Wall</h2></div>
<div id="wall">
<div id="recent_wall_post">
</div> <?php //end last wall post ?>
<div id="wall_posts" style="padding-bottom:100px;"></div><?php // wall_posts ?>
<div id="wall_post_nav"></div>
<div id="wall_sub_post">
<textarea id="comm_post" name="comm_post" onkeyup="limitText('comm_post','thecount',230);" onfocus="clearcompost();" onblur="clearcompost();">Message</textarea>
<input id="comm_post_sub" name="comm_post_sub" type="button" value="Post" onclick="wallpost('{$user->user_info.user_id}');"/>
<input type="hidden" name="userdisplayname" id="userdisplayname" value="{$user->user_displayname_short}" />
<div id="thecount" style="position:absolute;bottom:0px;left:10px;">Maximum 230 Characters</div>
</div> <?php //wall_sub_post ?>
</div><?php // wall?>
</div><?php //thewall ?>
<div class="spacer">&nbsp;</div>
<div id="twitter_cont">
<div class="cheading"><h2>BateWorld Twitter Feed</h2></div>
<div id="tweet"></div>
</div>
<div class="spacer">&nbsp;</div>
<div id="tumblr_cont">
<div class="cheading"><h2>BateWorld Tumblr Blog</h2></div>
<div id="tumblr"></div>
</div>
<div id="center_right_col" style="float:right;width:265px;height:200px;background:#600;border-radius:10px 10px 0 0;">
<div class="cheading"><h2>BateWorld YouTube and XTube</h2></div>
<div id="thetubes" style="background:#000;">
<div style="width:263px;clear:both;border:1px solid #000;">
<ul style="list-style-type:none;margin:0px;padding:0px;clear:both;width:100%;position:relative;height:50px;width:261px;">
<li style="float:left;margin:0px;padding:0px;"><img src="http://i2.ytimg.com/vi/qtvpG53Q3fI/mqdefault.jpg" width="87" style="margin:0px;padding:0px;border:1px solid white;display:block;"/></li>
<li style="float:left;margin:0px;padding:0px;"><img src="http://i2.ytimg.com/vi/SumrFf04fCo/mqdefault.jpg" width="87" style="margin:0px;padding:0px;border:1px solid white;display:block;" /></li>
</ul>
<div style="height:1px;margin-top:-1px;overflow:hidden;font-size:0px;">&nbsp;</div>
</div>
<div style="background:#fff;margin:0px;padding:0px 0px 0px 0px;width:263px;border:1px solid #000;">
<iframe src="http://www.youtube.com/subscribe_widget?p=bateworld" style="overflow: hidden; height: 104px; width: 263px; border: 0;margin:0px;padding:0px;" scrolling="no" frameBorder="0"></iframe>
</div>
</div><?php // the tubes?>
<div class="spacer" style="background:#600;height:20px;overflow:hidden;">&nbsp;</div>
<div class="cheading"><h2>BateWorld Blog</h2></div>
<div>&nbsp;</div>
<div class="spacer">&nbsp;</div>
</div>
</div>
<div style="width:735px;height:15px;clear:both;">spacer</div>
<p style="padding-top:20px;">The layout in this section doesn't make me too comfortable. I don't see how all the columns will balance out in height,
given it is a dynamic and interactive page.</p>
</div>
<div id="main_right_column" style="float:right;width:210px;margin-left:15px;background:black;margin:0px auto;text-align:center;">
{* CUM METER *}
<div id="meter-wrap" style="text-align:center;width:210px;margin:0px auto;">
<a href="javascript:donot();" onclick="getmeter(0);" style="border:none;">
<img src="/cmeter/meter2.jpg" id="canime" style="padding-left:5px;border:none;" /></a>
<div id="bm-total-since">TOTAL SINCE 6.23.2012</div>
<div id="bm-cclicks" style="">&nbsp;</div>
</div>
<div id="flashcontainer"></div>
{literal}
<script src="/cmeter/cmeter.js" type="text/javascript"></script>
<script type="text/javascript">
var soundfile="";
var pstimer="";
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function callToActionscript(str) {getFlashMovie("flash_control").sendsonginfo(str);soundfile="";}
function loadsoundfile(){callToActionscript(soundfile);clearTimeout(pstimer);}
isIE = navigator.appName.indexOf("Microsoft") != -1;
if(!isIE)
{
document.getElementById("flashcontainer").innerHTML="<object type=\"application/x-shockwave-flash\" id=\"flash_control\" data=\"/flash/control.swf\" width=\"1\" height=\"1\"><param name=\"movie\" value=\"/flash/control.swf\" /><param name=\"allowScriptAccess\" value=\"always\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"allowfullscreen\" value=\"true\" /><param name=\"scale\" value=\"noborder\" /></object>";
}
else
{
document.getElementById("flashcontainer").innerHTML="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"1\" height=\"1\" id=\"flash_control\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"always\" /><param name=\"movie\" value=\"/flash/control.swf\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"allowfullscreen\" value=\"true\" /><param name=\"scale\" value=\"noborder\" /></object>";
}
getmeter(1);
</script>
{/literal}
<div id="ad_holder" style="margin:0px auto;width:200px;text-align:center;display:block;clear:both;position:relative;">
<a href="http://www.thebateshop.com" target="_blank" style="border:none;">
<img src="/images/ads/ad-holder.png" style="display:block;height:808px;position:relative;z-index:100;border:none;"/>
</a>
<img src="http://www.jockstrapcentral.com/images/bateworld/jockstrap-central-150x500.jpg" style="position:absolute;top:140px;left:24px;z-index:90;" />
<div style="clear:both;height:5px;overflow:hidden;font-size:0px;">&nbsp;</div>
</div>
</div><?php // main right?>
<div style="clear:both;">sdf;ljds</div>
<div id="youtube" class="delement" style="display:none;top:185px;left:0px;position:fixed;width:320px;height:300px;">
<div id="ytdh" class="drsMoveHandle"><span>YouTube</span><a href="javascript:donot();">x</a></div>
<div id="youtube_pad" style="padding:0;">
<iframe width="320" height="180" src="http://www.youtube.com/embed/qtvpG53Q3fI?autoplay=0" frameborder="0"></iframe>
</div><?php //outer wrap ?>
</div><!--end youtube //-->
<div id="theend">&nbsp;</div>
</div><?php // community wrap ?>
{else}
<div style="width:100%;background:#000;"></div>
{/if}
{include file='footer.tpl'}