Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Toggle sidebar?
#1
Not Solved
can someone input a toggle slide bar in this code? im using latest posts as a plugin and made my own user statistics 
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
	<script>
	window.oncontextmenu = function () { return false; } document.onkeydown = function (e) {	if (window.event.keyCode == 123 || e.button==2)	return false; }
	</script>

</head>
<body>
{$header}
{$miunashout}
<div style="float:{$left};width: 74%;">{$forums}</div><br><br>
<div style="float:{$right};width:25%;">
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><div><strong>   
<i class="fa fa-bar-chart"></i>&nbsp;{$mybb->user['username']}'s Statistics
	</strong></div></td>
</tr>
<tr>
<td class="trow1 latestpost">
	<i class="fa fa-th-large"></i>&nbsp;Total Threads:<span style="float: right;padding: 3px 15px;">{$stats['numthreads']}</span></td></tr>
<td class="trow1 latestpost">
<i class="fa fa-comments"></i>&nbsp;Total Posts:<span style="float: right;padding: 3px 15px;">{$stats['numposts']}</span></td>
<tr><td class="trow1 latestpost">
<i class="fa fa-users"></i>&nbsp;Total Members:<span style="float: right;padding: 3px 15px;">{$stats['numusers']}</span></td></tr>
<td class="trow1 latestpost">
<i class="fa fa-child"></i>&nbsp;Newest Member:<span style="float: right;padding: 3px 15px;">$newestmember</span></td>
<tr><td class="trow1 latestpost">
<i class="fa fa-user-plus"></i>&nbsp;Most Online:<span style="float: right;padding: 3px 15px;">$recordcount</td></tr></span>
</td>
</tr>
</table></div>
<div style="float:{$right};width:25%;">{$sidebar}</div>
{$boardstats}
{$footer}
</body>
</html>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)