
=============================================================
   

  :

          
         
          
     

          
     

=============================================================

  :

          
  :

   admincp

journalinstall.php
journaladmin.php

        vb

journal.php

   images   

=============================================================

         :

http://www.yoursite.com/vb/journalinstall.php

     


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
===============================================================

   

===============================================================

-------------------------------
  : includes/functions.php
-------------------------------

  :

global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $permissions, $vboptions;

-------------------------------

   :

global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $journalinfo, $permissions, $vboptions;

-------------------------------

     :

$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);

-------------------------------


   :

$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', injournal = ' . intval($journalinfo['journal_id']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);

-------------------------------

     :

	$replace = array(
		',inforum, inthread, incalendar, badlocation',
		',' . intval($foruminfo['forumid']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
	);

-------------------------------

   :

	$replace = array(
		',inforum, injournal, inthread, incalendar, badlocation',
		',' . intval($foruminfo['forumid']) . ', ' . intval($journalinfo['journal_id']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
	);

------------------------------

  : includes/functions_showthread.php

------------------------------

  :

		// get rank
		if (!$gotrank[$post['userid']])
		{
			eval($datastore['rankphp']);
			$gotrank["$post[userid]"] = $post['rank'];
		}
		else
		{
			$post['rank'] = $gotrank["$post[userid]"];
		}

		// get online status
		fetch_online_status($post, true);

-----------------------------

  :

		$journal= $DB_site->query_first("SELECT journal_id,journaldesc FROM ".TABLE_PREFIX."journals  
		WHERE journalist_id='".$post[userid]."'
		");
		if(empty($journal[journal_id]))
		{
			$show[journal]="false";
		}
		else
		{
			$show[journal]="true";
			if(strlen($journal[journaldesc])>150)
			{
				$journal[journaldesc]= "".substr($journal[journaldesc], 0, 150)."...";
			}
		}

-----------------------------

  : includes/functions_user.php

-----------------------------

  :

// ###################### Start regstring #######################
function fetch_registration_string($length)
{
	$chars = '2346789ABCDEFGHJKLMNPRTWXYZ';
	// . 'abcdefghjkmnpqrstwxyz'; easier to read with all uppercase

	for ($x = 1; $x <= $length; $x++)
	{
		$number = rand(1, strlen($chars));
		$word .= substr($chars, $number - 1, 1);
 	}

 	return $word;
}

-----------------------------

  :

// ######################### Get Journal #######################
function fetch_journal($userid)
{
	global $DB_site, $vboptions;
	$journal= $DB_site->query_first("SELECT lastentry,lastentry_id,journal_id,
	lastentry_date,journalviews,entrycount,commentcount FROM ".TABLE_PREFIX."journals  
	WHERE journalist_id='".$userid."'
	");
	if(empty($journal[journal_id]))
	{
		$journal[hasjournal]="false";
	}
	else
	{
		$journal[hasjournal]="true";
	}
	$journal[lastentry_date]= vbdate($vboptions[dateformat] ,$journal[lastentry_date], 1);
	return $journal;
}

-----------------------------

  : includes/init.php

-----------------------------

  :

// field names for usergroup display options
$_BITFIELD['usergroup']['genericoptions'] = array(
	'showgroup'             => 1,
	'showbirthday'          => 2,
	'showmemberlist'        => 4,
	'showeditedby'          => 8,
	'allowmembergroups'     => 16,
	'isbannedgroup'         => 32
);

-----------------------------

  :

// field names for journal permissions
$_BITFIELD['usergroup']['journalpermissions'] = array(
	'canviewjournal'			=> 1,
	'canhavejournal'			=> 2,
	'canviewcomments'			=> 4,
	'cancommentjournals'          => 8,
	'canratejournals'			=> 16,
	'canreportentries'		=> 32,
	'caneditownjournal'		=> 64,
	'caneditownentries'		=> 128,
	'candeleteownjournal'         => 256,
	'candeleteownentries'         => 512,
	'cansearchjournal'		=> 1024 //,
// 	'caneditothersjournal'        => 2048,
// 	'caneditothersentries'        => 4096,
// 	'candeleteothersjournal'      => 8192,
// 	'candeleteothersentries'      => 16384
);

------------------------------

  : admincp/usergroup.php

------------------------------

  :

	print_table_header($vbphrase['user_note_permissions']);
	print_yes_no_row($vbphrase['can_view_own_user_notes'], 'usergroup[canviewownusernotes]', $ug_bitfield['canviewownusernotes']);
	print_yes_no_row($vbphrase['can_manage_own_user_notes'], 'usergroup[canmanageownusernotes]', $ug_bitfield['canmanageownusernotes']);
	print_yes_no_row($vbphrase['can_post_user_notes_about_self'], 'usergroup[canpostownusernotes]', $ug_bitfield['canpostownusernotes']);
	print_yes_no_row($vbphrase['can_view_others_user_notes'], 'usergroup[canviewothersusernotes]', $ug_bitfield['canviewothersusernotes']);
	print_yes_no_row($vbphrase['can_manage_others_user_notes'], 'usergroup[canmanageothersusernotes]', $ug_bitfield['canmanageothersusernotes']);
	print_yes_no_row($vbphrase['can_post_user_notes_about_others'], 'usergroup[canpostothersusernotes]', $ug_bitfield['canpostothersusernotes']);
	print_yes_no_row($vbphrase['can_edit_own_user_notes'], 'usergroup[caneditownusernotes]', $ug_bitfield['caneditownusernotes']);
	print_yes_no_row($vbphrase['other_users_can_be_posted'], 'usergroup[canbeusernoted]', $ug_bitfield['canbeusernoted']);
	print_table_break();

------------------------------

  :

	print_table_header("   ");
	print_yes_no_row("  ", 'usergroup[canviewjournal]', $ug_bitfield['canviewjournal']);
	print_yes_no_row("  ", 'usergroup[canhavejournal]', $ug_bitfield['canhavejournal']);
	print_yes_no_row("  ", 'usergroup[canviewcomments]', $ug_bitfield['canviewcomments']);
	print_yes_no_row("  ", 'usergroup[cancommentjournals]', $ug_bitfield['cancommentjournals']);
	print_yes_no_row("  ", 'usergroup[canratejournals]', $ug_bitfield['canratejournals']);
	print_yes_no_row("   ", 'usergroup[canreportentries]', $ug_bitfield['canreportentries']);
	print_yes_no_row("  ", 'usergroup[caneditownjournal]', $ug_bitfield['caneditownjournal']);
	print_yes_no_row("   ", 'usergroup[caneditownentries]', $ug_bitfield['caneditownentries']);
	print_yes_no_row("  ", 'usergroup[candeleteownjournal]', $ug_bitfield['candeleteownjournal']);
	print_yes_no_row("   ", 'usergroup[candeleteownentries]', $ug_bitfield['candeleteownentries']);
	print_yes_no_row("   ", 'usergroup[cansearchjournal]', $ug_bitfield['cansearchjournal']);
// 	print_yes_no_row($vbphrase['can_edit_others_journal'], 'usergroup[caneditothersjournal]', $ug_bitfield['caneditothersjournal']);
// 	print_yes_no_row($vbphrase['can_edit_others_entries'], 'usergroup[caneditothersentries]', $ug_bitfield['caneditothersentries']);
// 	print_yes_no_row($vbphrase['can_delete_others_journal'], 'usergroup[candeleteothersjournal]', $ug_bitfield['candeleteothersjournal']);
// 	print_yes_no_row($vbphrase['can_delete_others_entries'], 'usergroup[candeleteothersentries]', $ug_bitfield['candeleteothersentries']);
	print_table_break();

------------------------------

  : admincp/user.php

------------------------------

  :

print_input_row($vbphrase['ip_address'], 'user[ipaddress]', $user['ipaddress']);

------------------------------

  :

	print_table_header("   ");
	print_yes_no_row("   ?", 'user[canhavejournal]', $user['canhavejournal']);

------------------------------

  : admincp/index.php

------------------------------

  :

	$printhr = false;
	if (can_administer('canadminstyles'))
	{
		$printhr = true;
		construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
		construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
		construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
		construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
		construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
		construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]", '<hr />');
	}

------------------------------

  :


	construct_nav_option("   ", 'journaladmin.php?do=settings', '<br />');
	construct_nav_option("  ", 'journaladmin.php?do=showjournals', '<br />');
	construct_nav_option("  ", 'journaladmin.php?do=addmood', '<br />');
	construct_nav_option(" ", 'journaladmin.php?do=moderatemoods', '<br />');
	construct_nav_option("  ", 'journaladmin.php?do=moderatejournals', '<br />');
	construct_nav_option("  ", 'journaladmin.php?do=moderateentries', '<br />');
	construct_nav_option(" ", 'journaladmin.php?do=support', '<br />');
	construct_nav_group("  ", '<hr />');

------------------------------

  : member.php

------------------------------

  :

$templatename = iif($quick, 'memberinfo_quick', 'MEMBERINFO');

------------------------------

  :

$journal= fetch_journal($userid);

------------------------------

  : profile.php

------------------------------

  :

	// get ignore ids
	if ($bbuserinfo['ignorelist'])
	{
		$ignore_ids = explode(' ', trim($bbuserinfo['ignorelist']));
	}
	else
	{
		$ignore_ids = array();
	}

------------------------------

  :

	// get jbuddy ids
	if ($bbuserinfo['jbuddylist'])
	{
		$jbuddy_ids = explode(' ', trim($bbuserinfo['jbuddylist']));
	}
	else
	{
		$jbuddy_ids = array();
	}

------------------------------

     :

$bothlists = array_merge($buddy_ids, $ignore_ids);

------------------------------

   :

$bothlists = array_merge($buddy_ids, $ignore_ids, $jbuddy_ids);

------------------------------

     :

		while ($userinfo = $DB_site->fetch_array($users))
		{
			if ($userinfo['userid'] != 0)
			{
				if (in_array($userinfo['userid'], $buddy_ids))
				{
					$listusers['buddy']["$userinfo[userid]"] = $userinfo['username'];
				}
				if (in_array($userinfo['userid'], $ignore_ids))
				{
					$listusers['ignore']["$userinfo[userid]"] = $userinfo['username'];
				}

------------------------------

  :

				if (in_array($userinfo['userid'], $jbuddy_ids))
				{
					$listusers['jbuddy']["$userinfo[userid]"] = $userinfo['username'];
				}

------------------------------

     :

	$ignore_listbits = '';
	if (!empty($listusers['ignore']))
	{
		foreach ($listusers['ignore'] AS $userid => $username)
		{
			eval('$ignore_listbits .= "' . fetch_template('modifylistbit') . '";');
		}
	}

------------------------------

  :

	$jbuddy_listbits = '';
	if (!empty($listusers['jbuddy']))
	{
		foreach ($listusers['jbuddy'] AS $userid => $username)
		{
			eval('$jbuddy_listbits .= "' . fetch_template('modifylistbit') . '";');
		}
	}

------------------------------

     :

if ($_POST['do'] == 'updatelist')
{

	globalize($_POST, array('userlist' => STR, 'listbits'));

	if ($userlist != 'buddy')

------------------------------

   :

if ($_POST['do'] == 'updatelist')
{

	globalize($_POST, array('userlist' => STR, 'listbits'));

	if (($userlist != 'buddy') AND ($userlist != 'jbuddy'))

------------------------------

     :

if ($_REQUEST['do'] == 'removelist')
{

	globalize($_REQUEST, array('userid' => INT, 'userlist' => STR));

	if ($userlist != 'buddy')

------------------------------

   :

if ($_REQUEST['do'] == 'removelist')
{

	globalize($_REQUEST, array('userid' => INT, 'userlist' => STR));

	if (($userlist != 'buddy') AND ($userlist != 'jbuddy'))

------------------------------

     :

if ($_POST['do'] == 'doremovelist')
{
	globalize($_POST, array('userlist' => STR, 'userid' => INT));

	if ($userlist != 'buddy')

------------------------------

   :

if ($_POST['do'] == 'doremovelist')
{
	globalize($_POST, array('userlist' => STR, 'userid' => INT));

	if (($userlist != 'buddy') AND ($userlist != 'jbuddy'))

------------------------------

  : memberlist.php

------------------------------

  :

		LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON(usertextfield.userid=user.userid) 
		LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(userfield.userid=user.userid)

------------------------------

  :

		LEFT JOIN " . TABLE_PREFIX . "journals AS journals ON(journals.journalist_id=user.userid) 

------------------------------

     :

SELECT user.*,usertextfield.*,userfield.*, user.userid,

------------------------------

   :

 journals.journal_id,

------------------------------

     :

		$bgclass = 'alt1';
		eval('$memberlistbits .= "' . fetch_template('memberlist_resultsbit') . '";');

------------------------------

  :

		if(!empty($userinfo['journal_id']))
		{
			$show['journallink']= true;
		}
		else
		{
			$show['journallink']= false;
		}

------------------------------

  : online.php

------------------------------

  :

$wol_post = array();

------------------------------

  :

$wol_journal= array();
$wol_entry= array();

===============================================================

   

===============================================================


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
===============================================================

    

===============================================================

------------------------------

  : postbit  postbit_legacy

------------------------------

  :

	<if condition="$post['userid']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
	</if>

------------------------------

  :

<if condition="$show[journal]=='true'">
<tr><td class="vbmenu_option">
<a href="journal.php?do=showjournal&j=$journal[journal_id]" title="$journal[journaldesc]">  $post[musername]</a></td></tr></if>

------------------------------

  : navbar

------------------------------

  :

<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>

------------------------------

  :

<td id="journalnavbar" class="vbmenu_control"><a href="#journalnavbar"></a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>

------------------------------

     :

<!-- / NAVBAR POPUP MENUS -->

------------------------------

  :

<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" align="center">Journal Links</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php"> </a></td>
</tr>
<if condition="$bbuserinfo!=0">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=gotomyjournal"></a></td>
</tr>
</if>
</table>
</div>

------------------------------

  : memberlist_resultsbit

------------------------------

  :

<if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>

------------------------------

  :

<if condition="$show[journallink]"><div class="smallfont"><a href="journal.php?do=showjournal&j=$userinfo[journal_id]">  $userinfo[musername]</a></div></if>

------------------------------

  : MEMBERINFO

------------------------------

  :

	<div class="panel">
		<div align="$stylevar[left]">
		
		<div class="fieldset">
			<if condition="$userinfo['birthday'] OR $customfields">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<if condition="$userinfo['birthday']">
				<tr>
					<td>
						<strong>$vbphrase[birthday]</strong>:<br />
						$userinfo[birthday]
					</td>
				</tr>
				</if>
				$customfields
				</table>
			<else />
				<em>$vbphrase[n_a]</em>
			</if>
		</div>

------------------------------

  :

<if condition="$journal[hasjournal]=='true'">
<fieldset><legend> </legend>
<table><tr><td>
<div class="fieldset">
<a href="journal.php?do=showjournal&j=$journal[journal_id]">  $userinfo[username]</a><br>
  : $journal[entrycount]<br>
  : $journal[commentcount]<br>
  : $journal[journalviews]<br>
  : <a href="journal.php?do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> ( $journal[lastentry_date] )<br>
</div></td></tr></table></fieldset></if>

------------------------------

  : USERCP_SHELL

------------------------------

  :

<tr>
	<td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</tr>

------------------------------

  :

<tr><td class="alt1">
<div class="smallfont"><a href="journal.php?do=gotomyjournal">
</a></div></td></tr>

------------------------------

  : modifylist

------------------------------

  :

<td>
					<form action="profile.php" method="post">
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="ignore" />					
					<fieldset class="fieldset">
						<legend>$vbphrase[ignore_list]</legend>
						<div style="padding:$stylevar[formspacer]px">
							$ignore_listbits
							<div><input type="text" class="bginput" name="listbits[]" size="25" /></div>
							<div><input type="text" class="bginput" name="listbits[]" size="25" /></div>
						</div>
						<div align="center"><input type="submit" class="button" value="$vbphrase[update_ignore_list]" accesskey="s" /></div>
					</fieldset>					
					</form>				
				</td>
			</tr>

-------------------------------
  :

<tr><td>
<form action="profile.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="updatelist" />
<input type="hidden" name="userlist" value="jbuddy" />
<fieldset class="fieldset">
<legend>  </legend>
<div style="padding:$stylevar[formspacer]px">
$jbuddy_listbits
<div><input type="text" class="bginput" name="listbits[]" size="25" /></div>
<div><input type="text" class="bginput" name="listbits[]" size="25" /></div></div>
<div align="center"><input type="submit" class="button" value="   " accesskey="s" /></div></fieldset></form>
</td></tr>

===============================================================

   

===============================================================


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



===============================================================


   

===============================================================

--------------------------------
     : JOURNAL
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -   </title>
$headinclude
</head>
<body>
$header
$navbar
<br>
<table border="0" align="center" width="100%">
<tr>
<td>
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="thead" colspan="3" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_vbjournal')"><img id="collapseimg_welcome_vbjournal" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_vbjournal].gif" alt="" border="0"></a>
 </td>
</tr>
</tbody>
<tbody id="collapseobj_welcome_vbjournal" style="$vbcollapse[collapsetobj_welcome_vbjournal]">
<tr>
<td class="thead" nowrap="nowrap" align="center"> </td><td class="thead" nowrap="nowrap" align="center"> </td>
<td class="thead" nowrap="nowrap" align="center"> </td>
</tr>
<tr>
<td valign="top" class="alt2">
<table width="100%" valign="top">
$latestentrybits
</table>
</td>
<td valign="top" class="alt1">
<table width="100%" valign="top">
$latestjournalbits
</table>
</td>
<td class="alt2" nowrap="nowrap" align="center">
<if condition="$canhave[journal]">
<a href="journal.php?do=gotomyjournal"></a><br />
<a href="journal.php?do=gotomyjournal&action=addentry">  </a><br />
</if>
<if condition="$can[search]">
<a href="journal.php?do=search">  </a><br />
</if>
<a href="journal.php?do=topjournals"> </a><br />
<if condition="$bbuserinfo[userid]!=0">
<a href="journal.php?do=showjbuddies">  </a><br />
<a href="journal.php?do=editjbuddies">  </a><br />
</if>
</td>
</tr>
</tbody>
</table>
<br />
</td>
</tr>
<tr>
<td class="$stylevar[right]"><if condition="$canhave[journal]"><div style="float:left"><a href="journal.php?do=startjournal" title="   ">[   ]</a></div></if>$pgnav<br /></td>
</tr>
<tr>
<td align="center" width="100%">
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">

<td id="journalsearch" class="thead" align="left"><a href="#journalsearch"></a> <script type="text/javascript"> vbmenu_register("journalsearch"); </script></td>
</tr>
<tbody>
<tr>
<td class="thead" colspan="2" align="$stylevar[left]"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_display')"><img id="collapseimg_index_display" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_index_display].gif" alt="" border="0"></a>  : </td>
</tr>
</tbody>
<tbody id="collapseobj_index_display" style="$vbcollapse[collapsetobj_index_display]">
<tr>
<td class="alt1" colspan="2" align="$stylevar[left]">
<form action="journal.php" method="get">
<table cellpadding="0" cellspacing="1" border="0" width="100%">
<tr>
<td class="smallfont">
  : <select name="sort">
<option value="journalist"<if condition="$sort=='journalist'"> select="selected"</if>>  </option>
<option value="journalname"<if condition="$sort=='journalname'"> selected="selected"</if>> </option>
<option value="journaldate"<if condition="$sort=='journaldate'"> selected="selected"</if>>  </option>
<option value="journaldesc"<if condition="$sort=='journaldesc'"> selected="selected"</if>> </option>
<option value="entrycount"<if condition="$sort=='entrycount'"> selected="selected"</if>> </option>
<option value="lastentry_date"<if condition="$sort=='lastentry_date'"> selected="selected"</if>>  </option>
<option value="lastentry"<if condition="$sort=='lastentry'"> selected="selected"</if>>  </option>
</select>
</td>
<td rowspan="2"><input type="submit" value=" " class="button" /></td>
</tr>
<tr>
<td class="smallfont">
  : <select name="order">
<option value="ASC" <if condition="$order=='ASC'"> selected="selected"</if>></option>
<option value="DESC"<if condition="$order=='DESC'"> selected="selected"</if>></option>
</select>
</td>
</tr>
</table>
</td>
	</tr>
</tbody>
	</table>
</form>
<div class="vbmenu_popup" id="journalsearch_menu" style="display:none">
<form action="journal.php" method="get">
<input type="hidden" name="do" value="searchresults" />
<input type="hidden" name="st" value="3" />
		<table cellpadding="4" cellspacing="1" border="0">

		<tr><td class="thead">  </td></tr>
		<tr><td class="vbmenu_option" title="nohilite"><input type="text" name="sk" value="" size="30" maxlength="50"/></td></tr>
		<tr><td class="vbmenu_option" title="nohilite" align="center"><input type="submit" value=" " class="button"></td></tr>
<tr><td class="vbmenu_option"><a href="journal.php?do=search" title="Advanced Journal Search">   </a></td></tr>
</table>
</div>

<!-- / NAVBAR POPUP MENUS -->
</td>
</tr>
<tr>
<td>
<br><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="thead" colspan="6" align="center"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_journals')"><img id="collapseimg_index_journals" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_index_journals].gif" alt="" border="0"></a> $vboptions[bbtitle]</td>
</tr>
<tr>
<td class="thead">&nbsp;</td>
<td class="thead" nowrap="nowrap">  </td>
<td class="thead" nowrap="nowrap" align="center"></td>
<td class="thead" nowrap="nowrap" align="center"></td>
<td class="thead" nowrap="nowrap" align="center"></td>
<td class="thead" nowrap="nowrap" align="center"> </td>
</tr>
</tbody>
<tbody id="collapseobj_index_journals" style="$vbcollapse[collapsetobj_index_journals]">
$journalbits
</tbody>
<tr>
<td class="thead" colspan="6" align="center"><div class="smallfont"><if condition="$bbuserinfo[userid]!=0"><a href="journal.php?do=markjournalsread">   </a><else />&nbsp;</if></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="$stylevar[right]"><if condition="$canhave[journal]"><div style="float:left"><a href="journal.php?do=startjournal" title="Start Your Journal Now!">[   ]</a></div></if>$pgnav
<br />
<br />
</td>
</tr>
<tr>
<td>
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_statistics')"><img id="collapseimg_index_statistics" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_index_statistics].gif" alt="" border="0"></a>  $vboptions[bbtitle]</td>
</tr>
</tbody>
<tbody id="collapseobj_index_statistics" style="$vbcollapse[collapsetobj_index_statistics]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" /></td>
<td class="alt1">  : $totaljournals |   : $total[entries]  |   : $total[comments]</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('index_wov')"><img id="collapseimg_index_wov" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_index_wov].gif" alt="" border="0"></a><a href="online.php">    : $totalviewing</a> ( <span class="smallfont"> : $numberregistered,  : $numberguest</span> )</td>
</tr>
</tbody>
<tbody id="collapseobj_index_wov" style="$vbcollapse[collapsetobj_index_wov]">
<tr>
<td class="alt2"><a href="online.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></a></td>
<td class="alt1" width="100%">$activeusers</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_buddy
--------------------------------

<div><a href="member.php?u=$userid">$username</a></div>

--------------------------------
     : journal_commentbits
--------------------------------

<table align="center" class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="thead">$comment[comment_title]</td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">Commenter: <a href="member.php?u=$comment[commenter_id]">$comment[commenter]</a>   : $comment[date] at <span class="time">$comment[time]</span></div></td>
</tr>
<tr>
<td class="alt2"><div>$text</div><if condition="$bbuserinfo[usergroupid]==6"><div style="float:right;"><a href="journal.php?do=deletecom&com=$comment[comment_id]&j=$j">
[  ]</a>
[   : $comment[ipaddress] ]</div></if></td>
</tr>

</table>
<br />

--------------------------------
     : journal_commentpage
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :   <if condition="!empty($e)">$entryinfo[entrytitle]<else /><if condition="$journal[name]"> $journal[name]<else /> $journal[journalist]</if></if></title>
$headinclude
<script type="text/javascript">
function validate()
{
form=document.comment
ctitle=form.title.value
cmessage=form.comment.value
submitOK="true"
if(ename.length<5)
{
 alert("       ")
 submitOK="False"
}
if(emessage.length<10)
{
 alert("        ")
 submitOK="False"
}
if(submitOK=="false")
{
 return false
}
}
</script>
</head>
<body>
$header
$navbar
<br>
<if condition="$jpermissions[status]==1">
<table bgcolor="#FFFFFF" width="100%" border="1">
<tr>
<td align="center"><font color="#FF0000" size="4">This Journal Is Locked!</font></td>
</tr>
</table>
</if>
<div align="center" class="smallfont"><a href="journal.php?do=showjournal&j=$j"><if condition="$journal[name]"> $journal[name] <else /> $journal[journalist]</if></a></div><br />
<table width="100%" align="center" border="0">
<if condition="$can[comment] AND $jpermissions[status]!=1">
<tr>
<td>
<form action="journal.php?do=insertcomment&j=$j" method="post" name="comment" onsubmit="return validate()">
<input type="hidden" name="commenter" value="$bbuserinfo[username]" />
<input type="hidden" name="commenterid" value="$bbuserinfo[userid]" />
<if condition="!empty($e)"><input type="hidden" name="e" value="$e" /></if>
<input type="hidden" name="j" value="$j" />
<table class="tborder" align="center" cellspacing="$styelvar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('commentpage_addcom')"><img id="collapseimg_commentpage_addcom" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_commentpage_addcom].gif" alt="" border="0"></a>   <if condition="$journal[name]"> $journal[name]<else /> $journal[journalist]</if></td>
</tr>
</tbody>
<tbody id="collapseobj_commentpage_addcom" style="$vbcollapse[collapsetobj_commentpage_addcom]">
<tr>
<td class="alt1">: <input type="text" name="title" <if condition="!empty($e)">value="  : $entryinfo[entrytitle]"<else />value=""</if> maxlength="100" size="70" /></td>
</tr>
<tr>
<td class="alt2" align="center"><fieldset><legend> :</legend><table><tr><td><textarea name="comment" cols="60" rows="4"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="alt1" align="center"><input type="submit" value=" " class="button" /></td>
</tr>
</tbody>
</table>
</form>
<br />
</td>
</tr>
</if>
<tr>
<td align="right">
$pgnav
</td>
</tr>
<tr>
<td>
$commentbits
</td>
</tr>
<tr>
<td align="right">
$pgnav
</td>
</tr>
</table>
<br />
<div align="center" class="smallfont"><a href="journal.php?do=showjournal&j=$j"><if condition="$journal[name]"> $journal[name] <else /> $journal[journalist]</if></a></div>
<br />
<if condition="$jpermissions[status]==1">
<table bgcolor="#FFFFFF" width="100%" border="1">
<tr>
<td align="center"><font color="#FF0000" size="4">This Journal Is Locked!</font></td>
</tr>
</table>
</if>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_deletion_entry_confirmation
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
</head>
<body>
$header
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
      ...      
<br />
<form action="journal.php?j=$j" method="post">
<input type="hidden" name="do" value="killentry" />
<input type="hidden" name="e" value="$e" />
<input type="submit" value=" " class="button" />
</form>
</div>
</td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_deletion_journal_confirmation
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
</head>
<body>
$header
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
       ...      
<br />
<form action="journal.php?j=$j" method="post">
<input type="hidden" name="do" value="killjournal" />
<input type="submit" value=" " class="button" />
</form>
</div>
</td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_edit_entryinfo
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
<script type="text/javascript">
function validate()
{
form=document.einfo
ename=form.etitle.value
emessage=form.etext.value
submitOK="True"
if(ename.length<5)
{
 alert("       ")
 submitOK="False"
}
if(emessage.length<10)
{
 alert("        ")
 submitOK="False"
}
if (submitOK=="False")
 {
 return false
 }
}
</script>
</head>
$header
$navbar
<br />
<form action="journal.php?do=update&j=$j" method="post" name="einfo" onsubmit="return validate()">
<input type="hidden" name="type" value="entry" />
<input type="hidden" name="e" value="$e" />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" width="100%" border="0" align="center">
<tr>
<td class="thead">  : $entryinfo[entrytitle]</td>
</tr>
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="alt1"><input type="text" name="etitle" value="$entryinfo[entrytitle]" maxlength="50" size="50" /></td>
</tr>
<tr>
<td class="thead">  :</td>
</tr>
<tr>
<td class="alt2"><textarea name="etext" rows="10" cols="90">$entryinfo[entrytext]</textarea></td>
</tr>
<tr>
<td class="alt1"> :  <select name="mood">
<optgroup label="">
<option value="0"> </option>
$moodbits
</optgroup>
</select>
</td>
</tr>
<tr>
<td class="thead"></td>
</tr>
<tr>
<td class="alt1">    <input type="checkbox" name="epriv" value="1" <if condition="$entryinfo['private']">checked="checked" </if>/><br />
    <input type="checkbox" name="allowbuddse" value="1"<if condition="$entryinfo[allowbuddies]==1"> checked="checked"<else /> </if>/> </td>
</tr>
<tr>
<td class="alt2">         <br /><input type="text" name="ewcv" value="$entryinfo[whocanview]" maxlength="150" size="85" /></td>
</tr>
<tr>
<td class="thead" align="center"><input type="submit" value=" " class="button"></td>
</tr>
</table>
</form>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_edit_journalinfo
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
</head>
$header
$navbar
<br />
<form action="journal.php?do=update&j=$j" method="post">
<input type="hidden" name="type" value="journal" />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" width="100%" border="0" align="center">
<tr>
<td class="thead">  <if condition="$journalinfo[journalname]">$journalinfo[journalname]<else />$journalinfo[journalist]</if></td>
</tr>
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="alt1"><input type="text" name="jname" value="$journalinfo[journalname]" maxlength="50" size="50" /></td>
</tr>
<tr>
<td class="thead">  :</td>
</tr>
<tr>
<td class="alt2"><input type="text" name="jdesc" value="$journalinfo[journaldesc]" maxlength="90" size="60" /></td>
</tr>
<tr>
<td class="thead"></td>
</tr>
<tr>
<td class="alt1">    <input type="checkbox" name="jpriv" value="1" <if condition="$journalinfo['private']">checked="checked" </if>/><br />
     <input type="checkbox" name="allowbuddsj" value="1"<if condition="$journalinfo[allowbuddies]==1"> checked="checked" <else /> </if>/></td>
</tr>
<tr>
<td class="alt2">     ...                 
<br /><input type="text" name="jwcv" value="$journalinfo[whocanview]" maxlength="150" size="85" /></td>
</tr>
<tr>
<td class="thead" align="center"><input type="submit" value=" " class="button"></td>
</tr>
</table>
</form>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>


--------------------------------
     : journal_entrybits
--------------------------------

<a name="e$entry[entry_id]"><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right"><a href="#e$entry[entry_id]"># $enum</a></div><a href="journal.php?do=showentry&e=$entry[entry_id]">$entry[entrytitle]</a></td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">  : $entry[date]  <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"></if> ( $entry[comments] )<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2" align="$stylevar[left]"><if condition="$show[mood] OR $entry[mood]>0"><div class="smallfont">Mood: <img src="$entry[mood_image]" alt="$entry[mood_name]" /></div><hr /></if>$entry[entrytext]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6">
[   : $entry[ipaddress] ]
</if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]">
[   ]
</a></if></div><if condition="$caneditown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=editentry&j=$j&e=$entry[entry_id]">
[  ]
</a></if><if condition="$candeleteown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=delete&j=$j&e=$entry[entry_id]&t=e">
[  ]
</a></if></td>
</tr>
</table></a>
<br />

--------------------------------
     : journal_journalbits
--------------------------------

<tr>
<td class="$bgclass"><if condition="$shownewentryicon[$journalid]"><img src="$stylevar[imgdir_statusicon]/journal_new.gif" border="0" alt="This Journal contains new entries." /><else /><if condition="$journal[status]==1"><img src="$stylevar[imgdir_statusicon]/journal_lock.gif" border="0" alt="This Journal is Locked!" /><else /><img src="$stylevar[imgdir_statusicon]/journal_old.gif" border="0" alt="This Journal does not contain new entries." /></if></if></td>
<td class="$bgclass" width="100%"><div style="float: right;"><img src="$stylevar[imgdir_rating]/rating_$rating.gif" /></div><a href="journal.php?do=showjournal&j=$journal[journal_id]"><if condition="$journal[journalname]">$journal[journalname]<else />$journal[journalist]'s Journal</if></a><if condition="$viewing[$journalid]>0"><span class="smallfont">($viewing[$journalid] viewing)</span></if><if condition="$show[privatelock]"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="This Journal is Private" /></if><br /><div class="smallfont">$journal[journaldesc]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[journalviews]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[entrycount]</td>
<td class="$bgclass" align="center" nowrap="nowrap">$journal[commentcount]</td>
<td class="$bgclass" nowrap="nowrap">
<if condition="$journal[entrycount]>0">
<div class="smallfont" align="$stylevar[left]">
	<div style="clear:both">
		<a href="journal.php?do=showentry&e=$journal[lastentry_id]" title="Go To Last Entry">$journal[lastentry]</a>
	</div>
	<div align="$stylevar[right]">
		$lastedate<span class="time">&nbsp;$lastetime
		<a href="journal.php?do=showentry&e=$journal[lastentry_id]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="Go To Last Entry" border="0" /></a>
	</div>
</div>
<else />
<div class="smallfont" align="center">No Entries</div>
</if>
</td>
</tr>

--------------------------------
     : journal_journalpage
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] -  : <if condition="$journalinfo[journalname]"> $journalinfo[journalname]<else /> $journalinfo[journalist]</if></title>
$headinclude
<script type="text/javascript">
function validate()
{
form=document.comment
ctitle=form.title.value
cmessage=form.comment.value
submitOK="true"
if(ename.length<5)
{
 alert("       ")
 submitOK="False"
}
if(emessage.length<10)
{
 alert("        ")
 submitOK="False"
}
if(submitOK=="false")
{
 return false
}
}
</script>
</head>
<body>
$header
$navbar
<br>
<if condition="$journalinfo[status]==1">
<table bgcolor="#FFFFFF" width="100%" border="1">
<tr>
<td align="center"><font color="#FF0000">   
</font></td>
</tr>
</table>
</if>
<table align="center" width="100%" border="0">
<tr>
<td>
<table class="tborder" align="center" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tbody>
	<tr>
		<td class="thead" colspan="3"><div style="float:right;" class="smallfont"><if condition="$bbuserinfo[usergroupid]=='6'">   : $journalinfo[ipaddress]</if><a href="#top" onclick="return toggle_collapse('journal_info')"><img id="collapseimg_journal_info" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_info].gif" alt="" border="0"></a></div> </td>
	</tr>
</tbody>
<tbody id="collapseobj_journal_info" style="$vbcollapse[collapsetobj_journal_info]">
	<tr>
		<td class="alt2" nowrap="nowrap" align="top">
			<if condition="!empty($avatarurl)">
				<a href="member.php?u=$journalinfo[journalist_id]"><img src="$avatarurl" border="0" alt="   $journalinfo[journalist]" /></a>
			<else />
				<div class="smallfont">  </div>
			</if>
		</td>
		<td class="alt1" nowrap="nowrap" width="100%">

<table width="100%">
	<tr>
		<td width="50%">
<div class="smallfont">
			   : <a href="member.php?userid=$journalinfo[journalist_id]">$journalinfo[journalist]</a>
</div>
		</td>
		<td width="50%">
<div class="smallfont">
			 : <if condition="$journalinfo['private']=='1'"><font color="red"> </font><else /><font color="green"> </font></if>
</div>
		</td>
	</tr>
	<tr>
		<td>
<div class="smallfont">
			  : $journalinfo[entrycount] (  : $private[count] )
</div>
		</td>
		<td>
<div class="smallfont">
			  : $journalinfo[commentcount]
</div>
		</td>
	</tr>
	<tr>
		<td>
<div class="smallfont">
			  : $journal[startdate]
</div>
		</td>
		<td>
<div class="smallfont">
			  : <if condition="$journalinfo[entrycount]==0">$journal[startdate]<else />$journalinfo[lastupdated]</if>
</div>
		</td>
	</tr>
<tr>
<td width="50%">
<div class="smallfont">
  : $journalinfo[journalviews]
</div>
</td>
<td>
</td>
</tr>
	<tr>
		<td colspan="2">
<div class="smallfont">
			<if condition="$journalinfo[journaldesc]"> : $journalinfo[journaldesc]</if>
</div>
		</td>
	</tr>
</table>

		</td>
	</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center"><if condition="$bbuserinfo[userid]==$journalinfo[journalist_id] AND $journalinfo[status]!=1"><a href="journal.php?do=addentry&j=$j">
[   ]
</a></if><if condition="$can[comment] AND $journalinfo[status]!=1">&nbsp;&nbsp;<a href="#adcom">
[   ]
</a></if></td>
</tr>
<tr>
<td align="right">
$pgnav
</td>
</tr>
<tr>
<td align="center" width="100%">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">

<td id="journalopt" class="thead" nowrap><a href="#journalopt"> </a> <script type="text/javascript"> vbmenu_register("journalopt"); </script></td>

<if condition="$can[rate]">
<td id="journalrate" class="thead" nowrap><a href="#journalrate"><if condition="$journalrating==0"><else /> : <img src="$stylevar[imgdir_rating]/rating_$journalrating.gif" border="0" /></if></a> <script type="text/javascript"> vbmenu_register("journalrate"); </script></td>
</if>

<td id="journalsearch" class="thead" nowrap><a href="#journalsearch">  </a> <script type="text/javascript"> vbmenu_register("journalsearch"); </script></td>

	</tr>
<tbody>
<tr>
<td class="thead" colspan="4" align="$stylevar[left]"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_wov')"><img id="collapseimg_journal_wov" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_journal_wov].gif" alt="" border="0"></a>   : $totalviewing ( $numberregistered   $numberguest  )</td>
</tr>
</tbody>
<tbody id="collapseobj_journal_wov" style="$vbcollapse[collapsetobj_journal_wov]">
<tr>
<td class="alt1" colspan="4" align="$stylevar[left]">$activeusers</td>
</tr>
</tbody>
	</table>

<div class="vbmenu_popup" id="journalopt_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<if condition="$canview[comments]">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=showcomments&j=$j"> </a></td>
</tr>
</if>
<tr>
<td class="thead" align="center"></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=downloadjournal&j=$_REQUEST[j]&type=txt"> </a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=downloadjournal&j=$_REQUEST[j]&type=xml"> XML</a></td>
</tr>
<if condition="$bbuserinfo[usergroupid]==6">
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=delete&j=$_REQUEST[j]&t=j">  </a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=editjournal&j=$_REQUEST[j]">  </a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=lockjournal&j=$_REQUEST[j]"><if condition="$journalinfo[status]==1"> <else /></if>  </a></td>
</tr>
</if>
<if condition="$bbuserinfo[userid]==$journalinfo[journalist_id] AND $journalinfo[status]!=1">
<tr>
<td class="thead" align="center"> </td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=addentry&j=$_REQUEST[j]"> </a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="journal.php?do=editjournal&j=$_REQUEST[j]">  </a></td>
</tr>
<if condition="$candeleteown[journal]">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=delete&j=$_REQUEST[j]&t=j"> </a></td>
</tr>
</if>
</if>
</table>
</div>

<div class="vbmenu_popup" id="journalsearch_menu" style="display:none">
<form action="journal.php" method="get">
<input type="hidden" name="do" value="searchresults" />
<input type="hidden" name="st" value="6" />
<input type="hidden" name="j" value="$_REQUEST[j]" />
		<table cellpadding="4" cellspacing="1" border="0">

		<tr><td class="thead">  </td></tr>
		<tr><td class="vbmenu_option" title="nohilite"><input type="text" name="sk" value="" size="30" maxlength="50"/></td></tr>
		<tr><td class="vbmenu_option" title="nohilite" align="center"><input type="submit" value=" " class="button"></td></tr>
</table>
</form>
</div>

<div class="vbmenu_popup" id="journalrate_menu" style="display:none">
<if condition="$show[voteform]">
<form action="journal.php?do=ratejournal" method="post">
<input type="hidden" name="j" value="$_REQUEST[j]" />
</if>
<table cellpadding="4" cellspacing="1" border="0">
<if condition="$show[voteform]">
<tr>
<td class="thead" align="center"></td>
</tr>
<tr>
<td class="vbmenu_option"><table width="100%"><tr><td align="$stylevar[left]" class="smallfont"><input type="radio" name="rating" value="5" /></td><td align="$stylevar[right]" class="smallfont"><img src="$stylevar[imgdir_rating]/rating_5.gif" alt="" /></td></tr></table></td>
</tr>
<tr>
<td class="vbmenu_option"><table width="100%"><tr><td align="$stylevar[left]" class="smallfont"><input type="radio" name="rating" value="4" /></td><td align="$stylevar[right]"><img src="$stylevar[imgdir_rating]/rating_4.gif" alt="" /></td></tr></table></td>
</tr>
<tr>
<td class="vbmenu_option"><table width="100%"><tr><td align="$stylevar[left]" class="smallfont"><input type="radio" name="rating" value="3" /></td><td align="$stylevar[right]"><img src="$stylevar[imgdir_rating]/rating_3.gif" alt="" /></td></tr></table></td>
</tr>
<tr>
<td class="vbmenu_option"><table width="100%"><tr><td align="$stylevar[left]" class="smallfont"><input type="radio" name="rating" value="2" /></td><td align="$stylevar[right]"><img src="$stylevar[imgdir_rating]/rating_2.gif" alt="" /></td></tr></table></td>
</tr>
<tr>
<td class="vbmenu_option"><table width="100%"><tr><td align="$stylevar[left]" class="smallfont"><input type="radio" name="rating" value="1" /></td><td align="$stylevar[right]"><img src="$stylevar[imgdir_rating]/rating_1.gif" alt="" /></td></tr></table></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center"><input type="submit" value="" class="button" /></td>
</tr>
<else />
<tr>
<td class="vbmenu_option" title="nohilite">    </td>
</tr>
</if>
</table>
<if condition="$show[voteform]">
</form>
</if>
</div>

<!-- / NAVBAR POPUP MENUS -->
</td>
</tr>
<tr>
<td align="center">
$entrybits
</td>
</tr>
<tr>
<td align="right">
$pgnav
</td>
</tr>
</table>
<if condition="$can[comment] AND $journalinfo[status]!=1">
<br />
<a name="adcom"></a>
<form action="journal.php?do=insertcomment&amp;j=$j" method="post" name="comment" onsubmit="return validate()">
<input type="hidden" name="commenter" value="$bbuserinfo[username]" />
<input type="hidden" name="commenterid" value="$bbuserinfo[userid]" />
<input type="hidden" name="j" value="$j" />
<table class="tborder" align="center" cellspacing="$styelvar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_addcom')"><img id="collapseimg_journal_addcom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_addcom].gif" alt="" border="0"></a>   <if condition="$journalinfo[journalname]">$journalinfo[journalname]<else />$journalinfo[journalist]</if></td>
</tr>
</tbody>
<tbody id="collapseobj_journal_addcom" style="$vbcollapse[collapsetobj_journal_addcom]">
<tr>
<td class="alt1"> : <input type="text" name="title" value="" maxlength="100" size="70" /></td>
</tr>
<tr>
<td class="alt2" align="center"><fieldset><legend> :</legend><table><tr><td><textarea name="comment" cols="60" rows="4"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="thead" align="center"><input type="submit" value=" " class="button" /></td>
</tr>
</tbody>
</table>
</form>
</if>
<if condition="$canview[comments]">
<br />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_reccom')"><img id="collapseimg_journal_reccom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_reccom].gif" alt="" border="0"></a>  :</td>
</tr>
</tbody>
<tbody id="collapseobj_journal_reccom" style="$vbcollapse[collapsetobj_journal_reccom]">
$reccombits
</tbody>
</table>
</if>
<br />
<center>
<if condition="$bbuserinfo[userid]==$journalinfo[journalist_id] AND $journalinfo[status]!=1"><a href="journal.php?do=addentry&j=$j">
[   ]
</a></if><if condition="$can[comment] AND $journalinfo[status]!=1">&nbsp;&nbsp;<a href="#adcom">
[   ]
</a></if></center>
<br />
<if condition="$journalinfo[status]==1">
<table bgcolor="#FFFFFF" width="100%" border="1">
<tr>
<td align="center"><font color="#FF0000" size="4">This Journal Is Locked!</font></td>
</tr>
</table>
</if>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_latestentrybits
--------------------------------

<tr>
<td class="$bgclass"><div class="smallfont"><a href="journal.php?do=showentry&e=$latest[entry_id]" title="$latest[entrytext]">$latest[entrytitle]</a> - ($latestentrydate  <span class="time">$latestentrytime</span>)<br /><span style="cursor:pointer" onclick="window.open('member.php?u=$latest[journalist_id]')">$latest[journalist]</span></div></td>
</tr>

--------------------------------
     : journal_latestjournalbits
--------------------------------

<tr>
<td class="$bgclass"><div class="smallfont"><a href="journal.php?do=showjournal&j=$latestj[journal_id]" title="$latestj[journaldesc]"><if condition="$latestj[journalname]!=''">$latestj[journalname]<else />$latestj[journalist]'s Journal</if></a> - ($journaldate  <span class="time">$journaltime</span>)<br /><span style="cursor:pointer" onclick="window.open('member.php?u=$latestj[journalist_id]')">$latestj[journalist]</span></div></td>
</tr>

--------------------------------
     : journal_moods
--------------------------------

<option value="$mood[mood_id]"<if condition="$selectedmood"> selected="selected"</if>>$mood[mood_name]</option>

--------------------------------
     : journal_most_comments
--------------------------------

<tr>
<td class="alt1"><a href="journal.php?do=showjournal&j=$mostcomments[journal_id]"><if condition="$mostcomments[journalname]==''">$mostcomments[journalist]'s Journal<else />$mostcomments[journalname]</if></a></td>
<td class="alt2"><a href="member.php?u=$mostcomments[journalist_id]">$mostcomments[journalist]</a></td>
<td class="alt1">$mostcomments[commentcount]</td>
</tr>

--------------------------------
     : journal_most_entries
--------------------------------

<tr>
<td class="alt1"><a href="journal.php?do=showjournal&j=$mostentries[journal_id]"><if condition="$mostentries['journalname']==''">$mostentries[journalist]'s Journal<else />$mostentries[journalname]</if></a></td>
<td class="alt2"><a href="member.php?u=$mostentries[journalist_id]">$mostentries[journalist]</a></td>
<td class="alt1">$mostentries[entrycount]</td>
</tr>

--------------------------------
     : journal_recent_comments
--------------------------------

<tr>
<td class="thead">$reccom[comment_title]</td>
</tr>
<tr>
<td class="alt2"><div class="smallfont"> <a href="member.php?userid=$reccom[commenter_id]">$reccom[commenter]</a>($commentdate  <span class="time">$commenttime</span>)</div></td>
</tr>
<tr>
<td class="alt1">$reccom[comment_text]</td>
</tr>

-------------------------------
     : journal_search
-------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  : </title>
$headinclude
<script type="text/javascript">
function validate
{
 sf=document.search
 keyword=search.sk
 in=search.st
 sort=search.order
 sortin=search.in
 if(keyword.length<3)
 {
  alert("        ")
  submitok="false"
 }
}
</script>
</head>
<body>
$header
$navbar
<br />
<form name="search" action="journal.php" method="get">
<input type="hidden" name="do" value="searchresults" />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="center">  </td>
</tr>
<tr>
<td class="panelsurrround"><div class="panel">  : <input type="text" name="sk" value="$sk" size="50" maxlength="75"><br /><select name="st" class="smallfont">
<option value="1"<if condition="$_REQUEST[st]==1"> selected="selected"</if>>    </option>
<option value="2"<if condition="$_REQUEST[st]==2"> selected="selected"</if>>   </option>
<option value="3"<if condition="$_REQUEST[st]==3"> selected="selected"</if>>   </option>
<option value="4"<if condition="$_REQUEST[st]==4"> selected="selected"</if>>   </option>
<option value="5"<if condition="$_REQUEST[st]==5"> selected="selected"</if>>     </option>
</select>
</div>
</td>
</tr>
<tbody>
<tr>
<td class="thead" align="center"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_options')"><img id="collapseimg_search_options" src="$stylevar[imgdir_button]/collapse_alt$vbcollapse[collapseimg_search_options].gif" alt="" border="0"></a> </td>
</tr>
</tbody>
<tbody id="collapseobj_search_options" style="$vbcollapse[collapsetobj_search_options]">
<tr>
<td class="alt1">
<div class="panel">
   : <select name="sort">
<option value="journalist"<if condition="$sort=='journalist'"> selected="selected"</if>> </option>
<option value="entrydate"<if condition="$sort=='entrydate'"> selected="selected"</if>> </option>
<option value="entrytitle"<if condition="$sort=='entrytitle'"> selected="selected"</if>> </option>
</select><input type="radio" name="order" value="DESC"<if condition="$order=='DESC'"> checked="checked"</if>/>  <input type="radio" name="order" value="ASC"<if condition="$order=='ASC'"> checked="checked"</if>/>
</div>
</td>
</tr>
</tbody>
<tr>
<td class="thead" align="center">
<input type="submit" value=" " class="button"> <input type="reset" value=" " class="button"></td>
</tr>
</table>
<br />
$pgnav
<br />
$resultbits
<br />
$pgnav
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

-------------------------------
     : journal_searchresults
-------------------------------

<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead"><div style="float:right">  : <a href="journal.php?do=showjournal&j=$entry[journal_id]">$entry[journalist]</a></div>$entry[date]  $entry[time]</td>
</tr>
<tr>
<td class="alt1"><div class="smallfont">
<if condition="$entry[mood]!=''"><img src="$entry[moodimg]" alt=" : $entry[mood]" /></if> : <a href="journal.php?do=showjournal&j=$entry[journal_id]&highlight=$sk#e$entry[entry_id]">$entry[entrytitle]</a><br />
  : <a href="member.php?userid=$entry[journalist_id]" target="_blank">$entry[journalist]</a><br />
<div class="alt2" style="margin:6px 0px 6px 0px; padding:6px; border:2px groove">$entry[entrytext]</i></div>
</div>
</td>
</tr>
</table>
<br />

-------------------------------
     : journal_showbuddies
-------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :   $bbuserinfo[username]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center">
<tr>
<td class="thead" align="center">  $bbuserinfo[username]</td>
</tr>
<tr>
<td class="alt1" align="center">
$jbuddy_listbits
</td>
</tr>
<tr>
<td class="alt2"> <a href="journal.php?do=editjbuddies"></a>    </td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_showentrypage
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :   - $entry[entrytitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<br />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right">  : <a href="journal.php?do=showjournal&j=$entry[journal_id]"><if condition="$entry[journalname]">$entry[journalname]<else />$entry[journalist]</if></a></div>$entry[entrytitle]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">  : $entry[date]  <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$entry[journal_id]&e=$e"></if> ( $count[comments] )<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2"><if condition="$entry[mood]>0"><div class="smallfont">Mood: <img src="$entry[mood_image]" border="0" alt="$entry[mood_name]" /><hr /></div></if>$text</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6">
[   : $entry[ipaddress] ]
</if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$entry[journal_id]&e=$entry[entry_id]">
[   ]</a></if></div><if condition="$caneditown[entry] AND $bbuserinfo[userid]==$entry[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=editentry&j=$entry[journal_id]&e=$entry[entry_id]">
[  ]</a></if><if condition="$candeleteown[entry] AND $bbuserinfo[userid]==$entry[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=delete&j=$entry[journal_id]&e=$entry[entry_id]&t=e">
[  ]</a></if></td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_startpage
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  : </title>
$headinclude
<script type="text/javascript">
function validate()
{
 form=document.startjournal
 entrytitle=form.etitle.value
 entrytext=form.emessage.value
 submitOK="true"
if(ename.length<5)
{
 alert("       ")
 submitOK="False"
}
if(emessage.length<10)
{
 alert("        ")
 submitOK="False"
}
 if(submitOK=="false")
 {
  return false
 }
}
</script>
</head>
<body>
$header
$navbar
<br>
<form action="journal.php?do=insertjournal" method="post" name="startjournal" onsubmit="return validate()">
<input type="hidden" name="journalist" value="$bbuserinfo[username]" />
<input type="hidden" name="journalistid" value="$bbuserinfo[userid]" />
<table class="tborder" align="center" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="thead"> $bbuserinfo[username]</td>
</tr>
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="alt1">  : <input type="text" name="jname" value="" maxlength="50" size="50" /><br /><div class="smallfont"><input type="checkbox" name="usejname" value="1" />   ...        </div></td>
<tr>
<td class="alt1">   : <input type="text" name="jdesc" value="" maxlength="90" size="60" /><div class="smallfont">  </div></td>
</tr>
<tr>
<td class="thead"></td>
</tr>
<tr>
<td class="alt1">   <input type="checkbox" name="jpriv" value="1" /><br />
     <input type="checkbox" name="allowbuddsj" value="1" /><br />
    :<input type="text" name="whocanviewj" value="" maxlength="150" size="85" /><div class="smallfont">     </div></td>
<tr>
<td class="thead">  </td>
</tr>
<tr>
<td class="alt1">  : <input type="text" name="etitle" value="" maxlength="80" size="65" /></td>
</tr>
<tr>
<td class="alt1"><fieldset><legend>  :</legend><table><tr><td><textarea name="emessage" cols="80" rows="8"></textarea></td></table></fieldset></td>
</tr>
<tr>
<td class="alt1"> :  <select name="mood"><optgroup label="">
<option value="0"> </option>
$moodbits</optgroup>
</select>
</td>
</tr>
<tr>
<td class="alt1">    <input type="checkbox" name="epriv" value="1" /><br />
    <input type="checkbox" name="allowbuddse" value="1" /><br />
    :<input type="text" name="whocanviewe" value="" maxlength="150" size="85" /><div class="smallfont">     </div></td>
</tr>
<tr>
<td class="thead" align="center"><input type="submit" value=" " class="button" /></td>
</tr>
</table>
</form>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_submitentry
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
<script type="text/javascript">
function validate()
{
 form=document.entryform
 entrytitle=form.title.value
 entrytext=form.message.value
 submitOK="true"
if(ename.length<5)
{
 alert("       ")
 submitOK="False"
}
if(emessage.length<10)
{
 alert("        ")
 submitOK="False"
}
 if(submitOK=="false")
 {
  return false
 }
}
</script>
</head>
$header
$navbar
<br />
<form action="journal.php?do=insertentry&j=$j" method="post" name="entryform" onsubmit="return validate()">
<input type="hidden" name="j" value="$j" />
<table class="tborder" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center">
<tr>
<td class="thead">  :</td>
</tr>
<tr>
<td class="thead"> </td>
</tr>
<tr>
<td class="alt1">  : <input type="text" name="title" value="" maxlength="80" size="65" /></td>
</tr>
<tr>
<td class="alt2"><fieldset><legend>  :</legend><table><tr><td><textarea cols="70" rows="8" name="message"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="alt1"> :  <select name="mood"><optgroup label="">
<option value="0"> </option>
$moodbits</optgroup>
</select>
</td>
</tr>
<tr>
<td class="thead"></td>
</tr>
<tr>
<td class="alt1">    <input type="checkbox" name="private" value="1" /><br />
    <input type="checkbox" name="allowbudds" value="1" /><br />
    <input type="text" name="wcv" value="" maxlength="150" size="100" /><div class="smallfont">         </div></td>
</tr>
<tr>
<td class="thead"><input type="submit" value=" " class="button" /></td>
</tr>
</table>
</form>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_toppage
--------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] -  :  </title>
$headinclude
</head>
<body>
$header
$navbar
<br />
<table width="100%" border="0" align="center">
<tr valign="top">
<td>
<table class="tborder" align="$stylevar[left]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tbody>
<tr>
<td class="thead" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('top_viewed')"><img id="collapseimg_top_viewed" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_top_viewed].gif" alt="" border="0"></a> </td>
</tr>
</tbody>
<tr>
<td class="thead" width="100%"> </td><td class="thead" nowrap="nowrap"></td><td class="thead" nowrap="nowrap"></td>
</tr>
<tbody id="collapseobj_top_viewed" style="$vbcollapse[collapsetobj_top_viewed]">
$topviewedbits
</tbody>
</table>
</td>
<td>
<table class="tborder" align="$stylevar[right]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tbody>
<tr>
<td class="thead" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('top_rated')"><img id="collapseimg_top_rated" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_top_rated].gif" alt="" border="0"></a> </td>
</tr>
</tbody>
<tr>
<td class="thead" width="100%"> </td>
<td class="thead" nowrap="nowrap"></td>
<td class="thead" nowrap="nowrap"></td>
</tr>
<tbody id="collapseobj_top_rated" style="$vbcollapse[collapsetobj_top_rated]">
$topratedbits
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="tborder" align="$stylevar[left]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tbody>
<tr>
<td class="thead" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('most_comments')"><img id="collapseimg_most_comments" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_most_comments].gif" alt="" border="0"></a>  :</td>
</tr>
</tbody>
<tr>
<td class="thead" width="100%"> </td>
<td class="thead" nowrap="nowrap"></td>
<td class="thead" nowrap="nowrap"></td>
</tr>
<tbody id="collapseobj_most_comments" style="$vbcollapse[collapsetobj_most_comments]">
$mostcommentsbits
</tbody>
</table>
</td>
<td>
<table class="tborder" align="$stylevar[right]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tbody>
<tr>
<td class="thead" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('most_entries')"><img id="collapseimg_most_entries" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_most_entries].gif" alt="" border="0"></a>  :</td>
</tr>
</tbody>
<tr>
<td class="thead" width="100%"> </td>
<td class="thead" nowrap="nowrap"></td>
<td class="thead" nowrap="nowrap"></td>
</tr>
<tbody id="collapseobj_most_entries" style="$vbcollapse[collapsetobj_most_entries]">
$mostentriesbits
</tbody>
</table>
</td>
</tr>
</table>
<br />
<center>$vbphrase[journalcrn]</center>
<br /><center>
<a href="http://www.mwadah.com" target="_blank">     </a></center><br>
$footer
</body>
</html>

--------------------------------
     : journal_top_rated
--------------------------------

<tr>
<td class="alt1"><a href="journal.php?do=showjournal&j=$toprated[journal_id]"><if condition="$toprated[journalname]==''">$toprated[journalist]'s Journal<else />$toprated[journalname]</if></a></td>
<td class="alt2"><a href="member.php?u=$toprated[journalist_id]">$toprated[journalist]</a></td>
<td class="alt1" nowrap="nowrap"><div class="smallfont"> :</div><div><img src="$stylevar[imgdir_rating]/rating_$rating.gif" border="0" /></div><div class="smallfont">  : $toprated[totalrating]</div><div class="smallfont">  : $toprated[totalvotes]</div></td>
</tr>

--------------------------------
     : journal_top_viewed
--------------------------------

<tr>
<td class="alt1"><if condition="$topviewed[journalname]==''"><a href="journal.php?do=showjournal&j=$topviewed[journal_id]">$topviewed[journalist]'s Journal</a><else /><a href="journal.php?do=showjournal&j=$topviewed[journal_id]">$topviewed[journalname]</a></if></td>
<td class="alt2"><a href="member.php?u=$topviewed[journalist_id]">$topviewed[journalist]</a></td>
<td class="alt1">$topviewed[views]</td>
</tr>

===============================================================

   

===============================================================

   

 :
 
   
http://www.mwadah.com

=============================================================