Files
Testing/templates/community.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

498 lines
32 KiB
Smarty
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{* $Id: community.tpl 12 2012-08-26 06:04:12Z phil $ *}
{include file='header.tpl'}
<script type="text/javascript" src="/js/community.js?ver=400"></script>
<script type="text/javascript" src="/include/analytics/base.js"></script>
<script type="text/javascript">
var userid="{$user->user_info.user_id}";
var pagename="Community Page";
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}";
var photourl="{$cpuserphotourl}";
</script>
{literal}
<script>
if (top.location.href != self.location.href){top.location.href = self.location.href;}
major="";minor="";frevision="";frevisionstr="";
//thump(major,minor,frevision,frevisionstr,userid);
</script>
{/literal}
<div id="community_wrap" style="position:relative;">
<!---------------- main left column //-->
<audio id="cmeter_audio">
<source src="/cmeter/cmeter.mp3" type="audio/mpeg">
</audio>
<!--main left column--------------------------------------------//-->
<div id="main_left_column" class="col-lg-9">
<div id="message_board">
{* if $user->user_info.user_id==7653||$user->user_info.user_id==8||$user->user_info.user_id==9||$user->user_info.user_id==21092||$user->user_info.user_id==105406||$user->user_info.user_id==105406}
<div id="site_message">
<h2 id="site_message_heading">bateworld Announcement!</h2>
<div class="site-message-wrap">
<div id="site_message_text" contenteditable="true" style="height:400px;">{$announce}</div>
<div id="site_message_editbar">
<input type="button" onclick="document.execCommand('bold',false,null);" value="Bold" style="display:inline;"/><input type="button" onclick="document.execCommand('italic',false,null);" value="Italic" style="display:inline;" /><input type="button" onclick="add_url()" value="Link" /><input type="button" onclick="toggle_html()" id="btn_html" value="HTML" /><input type="button" onclick="save_announcement();" value="Save" />
<span><input type="checkbox" name="activate" id="activate" value="Y" onclick="activate_annoucement();" {if $aactive=="Y"}checked="checked"{/if}/>Active</span>
</div>
</div>
<div class="spacer">&nbsp;</div>
<div id="announce_result" style=""> </div>
</div>
{/if *}
<div id="bw_announce_user" {if $aactive=="N"} style="display:none;clear:both;"{/if}>
<h2 id="site_message_heading">bateworld Announcement!</h2>
<div id="site_message_user" style="">
{$announce}
</div>
<div class="spacer">&nbsp;</div>
</div> <!-- end announcements //-->
</div> <!-- end message board //-->
<!--full left column----------------------------------------//-->
<div id="thewall" class="full-left-column brad-ten">
<!--the wall----------------------------------------------------------//-->
<div id="wall" style="padding:0px 0px 0px 0px;color:#333;background-color:#660000;">
<div id="wall_containers" style="text-align:center;margin:0px auto;width:100%;position:relative;">
<div id="wall_contents" style="background-color:#000;margin:0px auto;border-radius:10px 10px 0 0;">
<div class="cheading" style="text-align:left;"><h2>BateWorld Wall</h2></div>
<div id="post-to-walls" style="margin:0px auto;background-color:#FFE5B4;">
<div id="wall_posts_news"></div>
<div id="wall_sub_posts" style="padding:10px;">
<div style="padding:10px 10px 10px 0px;"> <textarea id="comm_post" name="comm_post[]" onkeyup="limitText('comm_post','wallchrcount',240);" onfocus="clearcompost();" onblur="clearcompost_blur();" style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);line-height:130%;border:none;width:100%;outline:none;font-size:120% !important;padding:5px;">Tell us what’s up, or even show us. Share something you want to say and/or a picture</textarea>
</div>
<input type="hidden" name="theuserid[]" id="theuserid" value="{$user->user_info.user_id}" class="form-control" />
<input type="hidden" name="displayname[]" id="displayname" value="{$user->user_info.user_username}" class="form-control" />
<input type="hidden" name="photo[]" id="photo" value="{$user->user_info.user_photo}" class="form-control" />
<input type="hidden" name="themsg[]" id="themsg" value="Once upon a time" class="form-control" />
<div id="wall_controls" style="display:none;text-align:left;clearfix;width:100%;">
<div id="files" class="files clearfix"></div>
<div class="clearfix wall-iexpad" style="padding:1px 0;text-align:left;position:relative;width:100%;color:#000;">
{if $user->user_info.verified==1 && $unixtime>=99999999999}
<span class="btn btn-success fileinput-button" style="float:left; background-color: #5cb85c;border-color:#4cae4c;padding:6px 20px 6px 20px;font-weigth:bold;">
<i class="fa fa-camera-retro" style="color:#fff;"></i>
<span id="wall_add_photo_label" style="color:#fff;">Add Photo</span>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload" type="file" name="files[]" />
</span>
{elseif $user->user_info.verified==0 && $unixtime>=99999999999}
<span class="btn btn-success fileinput-button" style="float:left; background-color: #5cb85c;border-color:#4cae4c;padding:6px 20px 6px 20px;font-weigth:bold;">
<i class="fa fa-camera-retro" style="color:#fff;"></i>
<span id="wall_add_photo_label" style="color:#fff;">Add Photo</span>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload" type="file" name="files[]" />
</span>
{else}
<span class="btn btn-success fileinput-button" style="float:left; background-color: #5cb85c;border-color:#4cae4c;padding:6px 20px 6px 20px;font-weigth:bold;">
<i class="fa fa-camera-retro" style="color:#fff;"></i>
<span id="wall_add_photo_label" style="color:#fff;">Add Photo</span>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload" type="file" name="files[]" />
</span>
{/if}
<!-- The global progress bar -->
<span style="float:right;positon:relative;">
<i id="wallspin" class="fa fa-refresh fa-spin" id="wall_loading" style="font-size:20px;display:none;"></i><span id="wallchrcount" style="padding-left:10px;">240</span> <button type="button" class="btn disable" id="subform" style="color:#fff;background-color: #428bca;border-color:#357ebd;border:none;padding:5px 20px 5px 20px;font-weight:bold;" disable="disable">Post</button>
</span>
<div style="clearfix"></div>
<div id="progress" class="progress" style="display:none;">
<div class="progress-bar progress-bar-success" style="width:0px;"></div>
</div>
</div><!-- clearfix //-->
<div style="color:#000;font-weight:bold;">
<p style="font-style:oblique;display:block;"><input type="radio" name="user_permission[]" id="user_permission" value="1" />I give permission to Bateworld to use this photo. I have full rights to this photo and I can and will provide 2257 Documentation upon request.</p>
<p style="font-style:oblique;display:block;"><input type="radio" name="user_permission[]" id="wall_only" value="0" checked="checked" />This photo is for the Bateworld Wall only.</p>
<p><a href="/2257.php" target="_blank">2257 Documentation</a></p>
</div>
</div><!-- wall_controls //-->
</div><!-- wall_sub_post //-->
</div><!-- post-to-wall //-->
<div id="wall_posts_containers" style="width:100%;position:relative;">
<div id="firstrows" style="background-color:#ffffff;"></div>
<div id="wall_postss"></div>
</div>
</div><!-- wall_container //-->
</div><!--wall content //-->
</div>
<!--------------------------------------------------------------------//-->
<div class="spacer">&nbsp;</div>
<!--half width left column //------------------------------------------------------------>
<div class="clearfix clear"></div>
<div id="sec_left_col" class="col-md-7">
<!--member services----------------------------------------------------//-->
<div id="member_services_container" >
<div class="cheading"><h2>Member Services</h2>{if $user->user_info.user_id==7653||$user->user_info.user_id==8||$user->user_info.user_id==9||$user->user_info.user_id==21092||$user->user_info.user_id==58188||$user->user_info.user_id==6286||$user->user_info.user_id==105406}<a href="javascript:ad_admin('/include/analytics/member_services_admin.php','df_form','Member Services');" onclick="" class="php-disp-form">Edit</a>{/if}</div>
<div id="member_services"></div>
<div id="ms_ad_preview"></div>
<div id="ad_container">
<div id="adupload">
<p id="ms_instructions">If you have a web site, a blog, or a service that's J/O related and you'd like to share it with other BateWorld members, please click <a style="">here</a> to upload a png, jpg, or gif image. All ads must be approved before they will appear on this page.</p>
<div id="upload_form">
<div id="upload_error">&nbsp;</div>
<form name="upload" id="upload" method="post" action="/mini-upload-form/upload.php" enctype="multipart/form-data">
<label for="adlink">Website / URL (Required) <i>http://www.example.com</i></label>
<input type="text" name="adlink" id="adlink" value="" required/>
<input type="file" name="upl" id="upl" multiple>
</form>
<span id="drop"><a class="redbutton">Upload Image</a></span>
</div><!-- end upload_form //-->
</div> <!-- end adupload //-->
<div id="upload_ul"><ul></ul></div> <!-- upload progress meter //-->
<div id="userads" style="display:none"><!-- user ad management //-->
<table id="userads_tab" cellpadding="0" cellspacing="0">
<caption>Your bateworld Ads</caption>
<thead>
<tr>
<th class="colleft">Thumb</th>
<th class="col2">Status</th>
<th class="colmid">Views</th>
<th class="colmid">Clicks</th>
<th class="colmid">CTR</th>
<th class="colright">&nbsp;</th>
</tr>
</thead>
<tfoot><tr><td colspan="6">&nbsp;</td></tr></tfoot>
<tbody></tbody>
</table>
</div>
</div>
</div><!-- end member service //-->
<!-------------------------------------------------------------//------->
<!----------------------------------------------------------------------//-->
{* if $user->user_info.user_id==7653||$user->user_info.user_id==8||$user->user_info.user_id==9||$user->user_info.user_id==21092||$user->user_info.user_id==58188||$user->user_info.user_id==6286||$user->user_info.user_id==105406}
<div class="spacer">&nbsp;</div>
<!--jack clubs----------------------------------------------------------//-->
<div id="jack_clubs" style="position:relative;">
<div class="cheading"><h2 style="padding-left:50px;">Jack Clubs</h2></div>
<div style="background:#000;padding:10px;">
<div>
<h3 style="padding:0;margin:0;color:red;font-size:90%;">NEW YORK JACKS</h3>
<p style="color: #f90;">Get your hard on with the Founding Fathers of Jack-Off clubs. Sundays at a Midtown West location and Tuesdays at Paddles on West 26th Street.</p>
</div>
<div>
<h3 style="padding:0;margin:0;color:red;font-size:90%;">VANCOUVER JAX</h3>
<p style="color: #f90;">Lube, porn, and lockers. Vancouver's bate scene gets Jacked Up! on select Wednesday evenings and Sunday afternoons at the <span style="color:red;font-weight:bold;">8X6</span> <strong>Club</strong> on Haro Street. More info available at the <a href="http://www.vancouverjax.com/">Vancouver Jax website</a> and <a href="http://bateworld.com/event.php?event_id=533">bateworld's event page</a>.</p>
</div>
</div>
<img src="/include/analytics/images/jack-off-clubs.png" style="position:absolute;top:-25px;left:-5px;"/>
<div class="cpw-footer">&nbsp;</div>
</div>
<!------------------------------------------------------------------------------//-->
{/if *}
</div><!--end left most 1/2 width column //-->
<!------------------------------------------------------------------------------------//-->
<!--center left column----------------------------------------------------------------//-->
<div id="center_right_col" class="col-md-4">
<!--blog replace//-->
<div id="blog-replace">
<div style="margin-bottom:20px;text-align:center;">
<a href="/helpinghandsponsorship.php"><img src="/include/analytics/images/giveahelpinghand.jpg" width="200" height="792" alt="Helping Hand" /></a>
</div>
</div>
<!---------------------------------------------------//-->
<!--you tube-----------------------------------------//-->
{*<div id="youtubechannel">
<div class="cheading"><h2>BateWorld's YouTube Channel</h2>{if $user->user_info.user_id==7653||$user->user_info.user_id==8||$user->user_info.user_id==9||$user->user_info.user_id==21092||$user->user_info.user_id==58188||$user->user_info.user_id==6286||$user->user_info.user_id==105406}<a href="javascript:getyoutubeform('/js/act/youtube_form.php','df_form','Youtube');" onclick="" class="php-disp-form">Edit</a>{/if}
</div>
<div id="thetubes" style="background:#000;"></div>
<div id="ms_subscribe_youtube">
<iframe id="pdp_youtube_iframe" src="https://www.youtube.com/subscribe_widget?p=bateworld" style="overflow: hidden; height: 144px; color:#fff; width: 100%; border: 0;margin:0px 0px -4px 0px;padding:0px;" scrolling="no" frameborder="0"></iframe>
</div>
</div><!-- end youtube //-->*}
<!------------------------------------------------------//-->
<div class="spacer" style="background:#600;height:20px;overflow:hidden;">&nbsp;</div>
<div style="clear:both;">&nbsp;</div>
</div> <!-- end center right column //-->
<!----------------------------------------------------------//-->
</div><!-- the wall full left column //-->
<!------------------------------------------------------------------//-->
</div><!-- main_left_column //-->
<!--right column------------------------------------------//-->
<div id="main_right_column" style="border-radius:10px 10px 0 0;background:#600;" class="col-lg-2">
<!--blogroll---------------------------------------------------------//-->
<div id="bate_blogs_container">
<div class="cheading" style="position:relative;"><h2>Bate Blogs</h2>
{if $user->user_info.user_id==105406||$user->user_info.user_id==7653||$user->user_info.user_id==8||$user->user_info.user_id==9||$user->user_info.user_id==21092||$user->user_info.user_id==58188||$user->user_info.user_id==6286||$user->user_info.user_id==105406}<a href="javascript:gettheform('/js/act/bate_blog_links.php','df_form','Bate Links');" onclick="" class="php-disp-form">Edit</a>{/if}</div>
<div id="bate_blogs"></div>
<div style="background:#000;">
<div style="padding:10px 10px 10px 10px;color:#f90;text-align:left;">
<p>Read a good one lately? Let us know so we can include it in the blogroll. Paste in the url below and click submit.</p>
<p id="blr_error" class="blr-error" style="display:none;"></p>
<p><input type="text" name="blogroll_rec" id="blogroll_rec" size="25" class="form-control" /></p>
<p style="text-align:center;padding-top:2px;"><button style="padding:4px 8px;border-radius:6px;border-width:0px;outline:0;color:#f7f7f7;font-size:12px;" class="redbutton form-control" onclick="rec_blogroll()" id="blogroll_sub">Submit</button></p>
</div>
</div>
<div class="cpw-footer">&nbsp;</div>
</div> <!-- end bate blogs //-->
<!--------------------------------------------------------------------------//-->
<div class="spacer" style="background:#600;">&nbsp;</div>
<!--main ad-----------------------------------------------------------------//-->
<div style="background:url('/include/analytics/images/cp_ad_bg.png') #600 no-repeat;width:210px;height:870px;position:relative; margin:auto;">
<div id="ad_holder" style="position:absolute;top:147px;width:210px;"></div>
</div>
<!--------------------------------------------------------------------------//-->
<div class="spacer" style="background:#600;">&nbsp;</div>
<!--tarzan-------------------------------------------------------------//-->
<div style="text-align:center;margin:0px auto;padding:5px;border-radius:5px;background:#000;">
<a href="http://enter.men.com/track/Njk0MS4xNjEuMS4xMzEuMC4wLjAuMC4w/home/tgp9/ad/8911/?join=5&variable=8911" target="_blank">
<img src="/include/analytics/images/tarzan/tarzan-200x208.jpg" width="200" height="208" alt="Tarzan" />
</a>
<!--<a href="/meditations.php"><img src="/include/analytics/images/meditations-220x495.jpg" width="200" height="450" alt="Mediations" style=""/></a>//-->
</div>
<!--tarzan video-------------------------------------------------------------//-->
<div style="text-align:center;margin:0px auto;padding:5px;border-radius:5px;background:#000;margin-top:3px;">
<a class="jackbox" href="https://www.youtube.com/watch?v=20IF5sFAOWE" data-group="tarzan" data-autoplay="true" data-title="<a href='http://enter.supergayhero.com/track/Njk0MS4xMS4xMDY2LjMwMjIuMC4wLjAuMC4w' target='_blank'>Tarzen at Men.com</a>" data-description="" style="text-decoration:none;" data-thumbnail=""><div class="jackbox-hover jackbox-hover-black jackbox-hover-play" style="width:200px;"></div>
<img src="/include/analytics/images/tarzan/tarzan-video-200x41.jpg" width="200" height="41" alt="Tarzan Youtube Video" /></a>
</div>
<!--------------------------------------------------------------------------//-->
<div class="spacer" style="background:#600;">&nbsp;</div>
<!--traveling bators -------------------------------------------------------//-->
<div style="background:#600;width:210px; margin:auto;">
{* CUM METER *}
<div id="meter-wrap" style="text-align:center;width:200px;height:542px;">
<a href="javascript:donot();" onclick="getthemeter(1);" style="border:none;">
<img src="/cmeter/meter2.jpg" width="200" height="542" id="canime" class="cp_canime" /></a>
<div id="bm-total-since" style="top:32px;">TOTAL SINCE 10.21.2012</div>
<div id="bm-cclicks" style="top:69px;">&nbsp;</div>
</div>
{literal}
<script src="/cmeter/cmeter_audio_tag.js" type="text/javascript"></script>
<script type="text/javascript">
getthemeter(0);
</script>
{/literal}
</div> <!-- end traveling bator //-->
<!-- Mr. Skin //-->
<div class="spacer" style="background:#600;">&nbsp;</div>
<a href="http://www.mrman.com/playlist/91?_atc=895932-31-1" target="_blank" style="color: #e72974; text-decoration: none;"><img alt="Mr Skin" src="/images/footer/james-bond-200x216.jpg" style="max-width:100%;height:auto;" /></a>
<!-- end Mr. Skin //-->
<!---------------------------------------------------------------------------//-->
<div class="spacer" style="background:#600;">&nbsp;</div>
<!--Bateworld Personnel------------------------------------------------------//-->
<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;clear:both;">
<ul style="clear:both;">
<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="/profile.php?user=PeterRising" target="_community">PeterRising</a></li>
<li class="c-title" style="color:#af0b07">Chief Executive Officer</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="/profile.php?user=cernunnos7" target="_community">Cernunnos7</a></li>
<li class="c-title" style="color:#af0b07">Creative Director</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="/profile.php?user=bateworldhelp" target="_community">bateworldhelp</a></li>
<li class="c-title" style="color:#af0b07">Administrative Director</li>
</ul>
</li>
<li style="clear:both;">
<ul style="list-style:none;float:left;clear:both;">
<li class="c-link"><h3><a href="/profile.php?user=azpete" target="_community" style="font-weight:bold;color:#fa3200;text-decoration:none;">Peter W. </a></h3></li>
<li class="c-link"><a href="/profile.php?user=azpete" target="_community">azpete</a></li>
<li class="c-title" style="color:#af0b07">Operations 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-link"><a href="/profile.php?user=BateWorldSeniorDev" target="_community">BateWorldSeniorDev</a></li>
<li class="c-title" style="color:#af0b07">Site Administator</li>
</ul>
</li>
<li style="clear:both;">
<ul style="list-style:none;float:left;clear:both;">
<li class="c-name"><h3>COACH</h3></li>
<li class="c-link"><a href="/profile.php?user=Milkingcoach" target="_community">Milkingcoach</a></li>
<li class="c-title" style="color:#af0b07">Digital Marketing Manager</li>
</ul>
</li>
<li style="clear:both;">
<ul style="list-style:none;float:left;clear:both;">
<li class="c-name"><h3>Edward</h3></li>
<li class="c-link"><a href="/profile.php?user=bwsocial" target="_community">BWSocial</a></li>
<li class="c-title" style="color:#af0b07">Social Media Manager</li>
</ul>
</li>
</ul>
</li>
</ul>
<div style="clear:both;height:10px;width:100%;">&nbsp;</div>
</div>
<div class="cpw-footer">&nbsp;</div>
</div><!-- end personel container //-->
<!-----------------------------------------------------------------------//-->
<div style="clear:both;height:10px;">&nbsp;</div>
</div><!--end main right column //-->
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/vendor/jquery.ui.widget.js"></script>
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/load-image.all.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/canvas-to-blob.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload.js"></script>
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="/wall/include/wall/jQuery-File-Upload-9.9.3/js/jquery.fileupload-validate.js"></script>
<script src="/mini-upload-form/assets/js/jquery.knob.js"></script>
<script src="/mini-upload-form/assets/js/script.js"></script>
<script src="/wall/include/wall/js/wall.js?v=2"></script>
<script>build_the_wall();loadCSS('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');loadCSS('/wall/css/base.css');loadCSS('/wall/include/wall/css/wall.css');</script>
<script type="text/javascript" src="/jackbox/js/jackbox-packed.min.js?a=2"></script>
{literal}
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
//getyoutube();
jQuery('body').append(jQuery('<div/>', {
id: 'draggable_forms', class: 'draggable', style: 'z-index:999999;text-align:left;'
}));
dforms='<div id="df_heading" class="draghandle"><span id="theformname"></span><a href="javascript:hidetheform(\'draggable_forms\');">x</a></div><div id="df_form"></div>';
jQuery('#draggable_forms').html(dforms);
//blog reader
jQuery('body').append(jQuery('<div/>', {
id: 'pdp_blog_reader', class: 'draggable', style: 'z-index:1027;display:none;top:5px;left:20px;position:fixed!important'
}));
blogread='<div id="br_heading" class="draghandle"><span id="br_name">BATEWORLD READER</span><a href="javascript:min_max_reader();" onclick="" class="min_max" id="br_min_max">&nbsp;</a><a href="javascript:hidetheform(\'pdp_blog_reader\');" onclick="" class="close_btn">&nbsp;</a></div><div><div style=""><iframe id="br_cont" src="" frameborder="0" allowtransparency="true" srolling="no" style="display:block"></iframe></div><div id="pdp_br_footer" class="draghandle">&nbsp;</div></div></div>';
jQuery('#pdp_blog_reader').html(blogread);
// youtube player
jQuery('body').append(jQuery('<div/>', {
id: 'ytcp_player', class: 'draggable draghandle', style: 'z-index:1027;display:none;position:fixed!important;'
}));
ytuberead='<div id="ytcp_heading" class="draghandle"><span><img src="/images/youtube_58x24.png" style="margin:3px 0 0 10px;"/></span><a href="javascript:hideyoutube2();" style="">x</a></div><div id="ytcp_pad"><iframe width="320" height="180" src="" frameborder="0" id="ytcp_frame"></iframe></div>';
jQuery('#ytcp_player').html(ytuberead);
jQuery(".draggable").draggable({ handle: ".draghandle" });
jQuery('#tube_container').draggable({iframeFix: true});
jQuery('#ytcp_player').draggable({iframeFix: true});
jQuery( "#ytcp_player" ).draggable({ containment: "body" });
//jQuery( "#pdp_blog_reader" ).draggable({ axis: "y" });
jQuery( "#pdp_blog_reader" ).draggable({ scroll: false });
// jQuery( "#pdp_blog_reader" ).draggable({ containment: [0, 0, 0, 0] });
jQuery(function() {
jQuery( "#pdp_blog_reader" ).resizable({
alsoResize: "#br_cont"
});
jQuery( "#br_cont" ).resizable();
});
wh=jQuery(window).height();
wh=wh-30;
brh=jQuery('#pdp_blog_reader').height();
brf=wh-64;
brf=brf+"px";
brh=(wh-10)+"px";
jQuery('#pdp_blog_reader').css('height',brh);
jQuery('#br_cont').css('height',brf);
jQuery(".jackbox[data-group]").jackBox("init", {
deepLinking: false, // choose to use the deep-linking feature ("true" will enhance social sharing!) true/false
showInfoByDefault: false, // show item info automatically when content loads, true/false
preloadGraphics: true, // preload the jackbox graphics for a faster jackbox
fullscreenScalesContent: true, // choose to always scale content up in fullscreen mode, true/false
autoPlayVideo: true, // video autoplay default, this can also be set per video in the data-attributes, true/false
flashVideoFirst: false, // choose which technology has first priority for video, HTML5 or Flash, true/false
defaultVideoWidth: 960, // the default video width, can also be set per video in the data-attributes
defaultVideoHeight: 540, // the default video height, can also be set per video in the data-attributes
baseName: "jackbox", // base url applied to built-in widgets/modules
className: ".jackbox", // the default jQuery selector
useThumbs: false, // choose to use thumbnails, true/false
thumbsStartHidden: false, // choose to initially hide the thumbnail strip, true/false
thumbnailWidth: 75, // the default thumb width, can also be set per video in the data-attributes
thumbnailHeight: 50, // the default thumb height, can also be set per video in the data-attributes
useThumbTooltips: true, // choose to use small thumbnail tooltips, true/false
showPageScrollbar: true, // if you don't like the "page jump" when the scrollbar disappears, set this to "true"
useKeyboardControls: true // The left and right keyboard arrows will cycle through the items. up/down will toggle thumbs
});
jboxto=setTimeout(function(){reinitjack();}, 2500);
});
// getthemeter(0);
getmemberservices();
getbatelinks();
getadholder();
//var thumpclosetimer=window.setInterval(function(){thump(major,minor,frevision,frevisionstr,userid); parameter = null},thumpimeout);
var reconnect = false;
window.onfocus = function () {
if (reconnect) {
reconnect = false;
// alert("Perform an auto-login here!");
}
};
window.onbeforeunload = function () {
//logout();
// window.clearInterval(thumpclosetimer);
// window.clearInterval(recentwalltimer);
reconnect = true;
};
</script>
{/literal}
<!-------------------------------------------------------------//-->
</div><!--community_wrap //-->
{include file='footer.tpl'}