400 lines
18 KiB
Smarty
400 lines
18 KiB
Smarty
{include file='header_community.tpl'}
|
|
{* $Id: community.tpl 12 2012-08-26 06:04:12Z phil $ *}
|
|
{if $user->user_info.user_id>0}
|
|
<script type="text/javascript">
|
|
var userid={$user->user_info.user_id};
|
|
var pagename="community";
|
|
var username="{$user->user_info.user_username}";
|
|
var useremail="{$user->user_info.user_email}";
|
|
var userlevel="{$user->user_info.user_level_id}";
|
|
var userinvisible="{$user->user_info.user_invisible}";
|
|
var userphoto="{$user->user_info.user_photo}";
|
|
{literal}
|
|
{/literal}
|
|
</script>
|
|
<div 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" class="redbutton" value="Post" onclick="wallpost('{$user->user_info.user_id}','{$user->user_info.user_photo}');" />
|
|
<input type="hidden" name="userdisplayname" id="userdisplayname" value="{$user->user_displayname_short}" />
|
|
<div id="thecount">Maximum 230 Characters</div>
|
|
<div id="wp_emsg">You post has been successfully submitted.</div>
|
|
<div id="wps_progress" style="position:absolute;display:none;top:8px;left:0px;width:100%;text-align:center;height:40px;">
|
|
<img src="/images/ajax-loader.gif" />
|
|
</div>
|
|
</div> <?php //wall_sub_post ?>
|
|
</div><?php // wall?>
|
|
</div><?php //thewall ?>
|
|
<div class="spacer"> </div>
|
|
|
|
<div id="twitter_cont" style="position:relative;">
|
|
<div class="cheading"><h2>BateWorld Twitter Feed</h2>
|
|
|
|
|
|
</div>
|
|
<div id="tweet"></div>
|
|
<div "id="tweet_follow_widget" style="position:absolute;top:2px;right:0px;">
|
|
<a href="https://twitter.com/bateworld" class="twitter-follow-button" data-dnt="true">Follow @bateworld</a>
|
|
{literal}<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>{/literal}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="spacer"> </div>
|
|
|
|
<div style="float:left;width:454px;">
|
|
<div id="tumblr_cont" style="position:relative;">
|
|
<div class="cheading"><h2>BateWorld Tumblr Blog</h2></div>
|
|
<div id="tumblr"></div>
|
|
<div style="padding-bottom:3px;clear:both;text-align:center;"><a href="http://www.tumblr.com/follow/bateworld" target="_community" style="border:none;text-decoration:none;"><img src="/images/community/bateworld_tumblr.png" style="border:none;" /></a></div>
|
|
</div>
|
|
|
|
<div class="spacer"> </div>
|
|
|
|
<div id="member_services_container">
|
|
<div class="cheading"><h2>Member Services</h2></div>
|
|
<div id="member_services" style="padding-top:10px;padding-bottom:10px;">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="center_right_col" style="float:right;width:266px;background:#600;border-radius:10px 10px 0 0;">
|
|
|
|
<div id="youtubechannel">
|
|
<div class="cheading"><h2>BateWorld's YouTube Channel</h2></div>
|
|
<div id="thetubes" style="background:#000;">
|
|
<div style="clear:both;border:1px solid #000;">
|
|
<ul style="list-style-type:none;margin:0px;padding:0px;clear:both;width:100%;position:relative;">
|
|
<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;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;display:block;" /></li>
|
|
</ul>
|
|
<div style="height:1px;margin-top:-1px;overflow:hidden;font-size:0px;"> </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 // thetubes?>
|
|
</div>
|
|
<div class="spacer" style="background:#600;height:20px;overflow:hidden;"> </div>
|
|
<div id="xtubechannel">
|
|
<div class="cheading"><h2>BateWorld's XTube Channel</h2></div>
|
|
<div id="xtubes" style="background:#000;margin:0px auto;">
|
|
<div style="clear:both;width:100%;padding-top:1px;">
|
|
<ul style="list-style-type:none;margin:0px auto;padding:0px;clear:both;position:relative;height:63px;">
|
|
<li style="float:left;margin:0px;padding:0px 2px 0 0px;"><img src="http://cdn1.videothumbs.xtube.com/videos/201205/09/0aIcv-C765-/240X180/1.jpg" width="87" style="display:block;"/></li>
|
|
<li style="float:left;margin:0px;padding:0px 2px 0 0;"><img src="http://cdn1.videothumbs.xtube.com/videos/201205/09/ZwaWt-C665-/240X180/1.jpg" width="87" style="display:block;" /></li>
|
|
<li style="float:left;margin:0px;padding:0px;"><img src="http://cdn1.videothumbs.xtube.com/videos/201205/09/1qO4h-C565-/240X180/5.jpg" width="87" style="display:block;" /></li>
|
|
|
|
</ul>
|
|
|
|
|
|
<div style="height:1px;margin-top:-1px;overflow:hidden;font-size:0px;"> </div>
|
|
</div>
|
|
<div style="padding:5px 0 5px 0;clear:both;"><img src="/images/community/xtube_logo_120x50.png" /></div>
|
|
</div><?php // xtubes?>
|
|
</div>
|
|
|
|
<div class="spacer" style="background:#600;height:20px;overflow:hidden;"> </div>
|
|
<div id="bwblog">
|
|
<div class="cheading"><h2>BateWorld Blog</h2></div>
|
|
<div id="bwblog-pad">
|
|
|
|
</div><?php //blog pad?>
|
|
</div><?php //bwblog ?>
|
|
<div class="spacer"> </div>
|
|
<div style="clear:both;"> </div>
|
|
</div> <?php //center right;?>
|
|
</div> <?php // main left?>
|
|
|
|
|
|
<div id="main_right_column" style="float:right;width:210px;margin-left:15px;background:black;margin:0px auto;text-align:center;border-radius:20px 20px 0 0;">
|
|
|
|
{* CUM METER *}
|
|
<div id="meter-wrap" style="text-align:center;width:200px;">
|
|
<a href="javascript:donot();" onclick="ggg(0);" style="border:none;">
|
|
<img src="/cmeter/meter2.jpg" id="canime" style="padding-left:5px;border-radius:10px 10px 0 0;border:none;" /></a>
|
|
<div id="bm-total-since">TOTAL SINCE 10.2?.2012</div>
|
|
<div id="bm-cclicks" style=""> </div>
|
|
</div>
|
|
<div id="flashcontainer"></div>
|
|
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
|
|
<script type="text/javascript" src="/js/jquery.tweet.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/community.js"></script>
|
|
{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>";
|
|
}
|
|
|
|
|
|
|
|
function gg(ft){
|
|
jQuery.getJSON("/cmeter/meter.php", { ft: ft}, function(json) {
|
|
// alert("JSON Data: " + json.hits);
|
|
});
|
|
|
|
}
|
|
|
|
function ggg(ft)
|
|
{
|
|
|
|
jQuery.ajax({
|
|
url: '/cmeter/meter2.php',
|
|
type: 'GET',
|
|
data:{ft:ft,loginid:userid,pagename:pagename,username:username,useremail:useremail,userlevel:userlevel,userinvisible:userinvisible,userphoto:userphoto},
|
|
success: function(data) {
|
|
//called when successful
|
|
|
|
document.getElementById("bm-cclicks").innerHTML=data.hits;
|
|
|
|
if(ft!=1){
|
|
|
|
caclosetimer = window.setInterval(stopca, catimeout);
|
|
document.getElementById('flash_control').sendsonginfo('/cmeter/cmeter.mp3');
|
|
document.getElementById("canime").src="/cmeter/meter2.gif";
|
|
}
|
|
},
|
|
error: function(e) {
|
|
//called when there is an error
|
|
//alert(e.message);
|
|
//jQuery
|
|
}
|
|
});
|
|
|
|
|
|
}
|
|
|
|
//gg(1);
|
|
//ggg(1);
|
|
getthemeter(0);
|
|
//getwall(userid);
|
|
//gettumblr();
|
|
//recentwalltimer = window.setInterval(checkwall, recentwalltimeout);
|
|
jQuery.noConflict();
|
|
jQuery(function(jQuery){
|
|
jQuery("#tweet").tweet({
|
|
username: "BateWorld",
|
|
join_text: "auto",
|
|
avatar_size: 32,
|
|
count: 5,
|
|
auto_join_text_default: "we said,",
|
|
auto_join_text_ed: "we",
|
|
auto_join_text_ing: "we were",
|
|
auto_join_text_reply: "we replied to",
|
|
auto_join_text_url: "we were checking out",
|
|
loading_text: "loading tweets...",
|
|
refresh_interval: 60
|
|
});
|
|
});
|
|
|
|
jQuery(document).ready(function() {
|
|
jQuery(".draggable").draggable({ handle: ".draghandle" });
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
{/literal}
|
|
|
|
|
|
<div class="spacer" style="background:#600;"> </div>
|
|
<div id="bate_blogs_container">
|
|
<div class="cheading" style="position:relative;"><h2>Bate Blogs</h2>
|
|
<a href="javascript:gettheform('/js/act/bate_blog_links.php','df_form','Bate Links');" onclick="" style="position:absolute;display:block;width:40px;height:16px;right:2px;top:0px;color:#fff;">Edit</a></div>
|
|
<div id="bate_blogs">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="spacer" style="background:#600;"> </div>
|
|
|
|
<div style="padding-top:15px;padding-bottom:15px;background:#600;width:210px;">
|
|
<div style="width:100%;border-radius:5px;background:#000;padding-top:5px;padding-bottom:5px;">
|
|
<div id="c_rc_ad" style="border-radius:5px;">
|
|
<div id="c_ad_top" style="border-radius:5px;"><img src="/images/community/c_ad_top.jpg" /></div>
|
|
<div id="ad_holder" style="background:url(/images/community/c_ad_center_bg.jpg);padding-top:10px;padding-bottom:8px;">
|
|
|
|
</div>
|
|
<div id="c_ad_bot"><img src="/images/community/c_ad_bottom.jpg" /></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="spacer" style="background:#600;"> </div>
|
|
<div id="personnel_container" style="margin:0px auto;text-align:center;display:block;clear:both;background:#600;">
|
|
<div class="cheading" style="position:relative"><h2>Personnel</h2></div>
|
|
<div id="personnel" style="background:#000;">
|
|
<ul>
|
|
<li style="clear:both;">
|
|
<ul style="list-style:none;float:left;clear:both;">
|
|
<li class="c-name"><h3>Peter</h3></li>
|
|
<li class="c-link"><a href="">PeterRising</a></li>
|
|
<li class="c-title">Executive Administrator</li>
|
|
</ul>
|
|
</li>
|
|
<li style="clear:both;">
|
|
<ul style="list-style:none;float:left;clear:both;">
|
|
<li class="c-name"><h3>David</h3></li>
|
|
<li class="c-link"><a href="">Cernunnos7</a></li>
|
|
<li class="c-title">Creative Development</li>
|
|
</ul>
|
|
</li>
|
|
<li style="clear:both;">
|
|
<ul style="list-style:none;float:left;clear:both;">
|
|
<li class="c-name"><h3>Wayne</h3></li>
|
|
<li class="c-link"><a href="">bateworldhelp</a></li>
|
|
<li class="c-title">Administrative Director</li>
|
|
</ul>
|
|
</li>
|
|
<li style="clear:both;">
|
|
<ul style="list-style:none;float:left;clear:both;">
|
|
<li class="c-name"><h3>Sean</h3></li>
|
|
<li class="c-title">Senior Programmer</li>
|
|
</ul>
|
|
</li>
|
|
<li style="clear:both;">
|
|
<ul style="list-style:none;float:left;clear:both;">
|
|
<li class="c-name"><h3>Phil</h3></li>
|
|
<li class="c-link"><a href="">philipp</a></li>
|
|
<li class="c-title">Editor</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><?php // main right?>
|
|
|
|
|
|
|
|
<div style="clear:both;"></div>
|
|
<p><img src="http://www.fncash.com/rotate/148/skyscraper" width="200" height="1000" border="0"><img src="http://www.fncash.com/rotate/148/skyscraper" width="144" height="720" border="0"><img src="http://www.fncash.com/rotate/148/skyscraper" width="120" height="600" border="0"><img src="http://www.fncash.com/rotate/148/skyscraper" width="100" height="500" border="0"></p>
|
|
|
|
|
|
</div><?php // community wrap ?>
|
|
<?php //fixed position draggable ?>
|
|
<div id="tube_container" class="draggable">
|
|
<div id="tc_heading" style="width:300px;height:30px;background:#FA3200;border-radius:20px 20px 0 0;"><span><img src="/images/youtube_58x24.png" style="margin:3px 0 0 10px;"/></span><a href="javascript:donot();">x</a></div>
|
|
<div id="youtube_pad" style="padding:0;background:#FA3200;width:320px;padding:0px 10px 10px 10px;">
|
|
<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="draggable_forms" class="draggable">
|
|
<div id="df_heading" class="draghandle" style="background:red;color:#fff;height:24px;position:relative;"><span id="theformname" style="padding-left:10px;line-height:24px;"></span><a href="javascript:hidetheform('draggable_forms');" style="position:absolute;width:20px;top:3px;right:-3px;color:#fff;">x</a></div>
|
|
<div id="df_pad">
|
|
<div id="df_form">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
//getmemberservices();
|
|
//getbatelinks();
|
|
//getadholder();
|
|
//getbwblog();
|
|
//update_state();
|
|
</script>
|
|
<div style="padding-top:10px;padding-bottom:10px;">If you are using Chrome and it crashes with the message "Shockwave Flash has crashed" follow the directions in this article to fix the problem <a href="http://www.howtogeek.com/103292/how-to-fix-shockwave-flash-crashes-in-google-chrome/" target="_blank">http://www.howtogeek.com/103292/how-to-fix-shockwave-flash-crashes-in-google-chrome/</a></div>
|
|
<div>
|
|
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="index_obj" width="100%" height="600px"
|
|
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
|
|
<param name="movie" value="chat/index.swf" />
|
|
<param name="quality" value="high" />
|
|
<param name="base" value="chat/" />
|
|
<param name="bgcolor" value="#272727" />
|
|
<param name="allowScriptAccess" value="sameDomain" />
|
|
<param name="allowFullScreen" value="true" />
|
|
<param name="wmode" value="transparent" />
|
|
<embed src="chat/index.swf" quality="high" bgcolor="#272727"
|
|
width="100%" height="600px" name="index_embed" align="middle"
|
|
play="true"
|
|
loop="false"
|
|
quality="high"
|
|
allowFullScreen="true"
|
|
allowScriptAccess="sameDomain"
|
|
type="application/x-shockwave-flash"
|
|
wmode="transparent"
|
|
base="chat/"
|
|
pluginspage="http://www.adobe.com/go/getflashplayer">
|
|
</embed>
|
|
</object>
|
|
|
|
</div>
|
|
{else}
|
|
<div style="width:100%;background:#000;"></div>
|
|
{/if}
|
|
{include file='footer.tpl'}
|
|
|
|
|
|
|
|
|
|
{* CUM METER *}
|
|
<div id="meter-wrap" style="text-align:center;width:200px;">
|
|
<a href="javascript:donot();" onclick="getthemeter(0);" style="border:none;">
|
|
<img src="/cmeter/meter2.jpg" id="canime" style="border:none;" /></a>
|
|
<div id="bm-total-since">TOTAL SINCE 10.27.2012</div>
|
|
<div id="bm-cclicks" style=""> </div>
|
|
</div>
|
|
<div id="flashcontainer"></div>
|
|
<script src="/cmeter/cmeter.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
{literal}
|
|
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>";
|
|
}
|
|
|
|
getthemeter(0);
|
|
{/literal}
|
|
</script>
|