Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/pm_list.tpl
<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
  for (var i = 0; i < form.elements.length; i++){
    eval("form.elements[" + i + "].checked = form.elements[0].checked");
  }
}
//]]>
</script>

{template}address_bar_part1{/template}
  <a href="index.php?page=usercp&amp;index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Private_Messages']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
	<tr>
		<td width="20%" valign="top">{template}usercp_menu{/template}</td>
		<td width="80%" valign="top">
<form action="index.php?page=pm_cp&amp;cp=1&amp;tools=1" name="form1" method="post">
<table border="0" cellspacing="1" class="border" width="100%">
	<tr align="center">
       <td class="tcat"  colspan="5">
          {if {$folder} == 'inbox'}
          {$lang['Contained_Messages']}
          {else}
          {$lang['Outgoing_Messages']}
          {/if}
          | {$lang['You_Have_X']}
          {$MsgsNum}
          {$lang['Msg']}
       </td>
	</tr>
	<tr align="center">
	<td class="thead" width="3%">
		{$lang['Case']}
	</td>
	<td class="thead" width="3%">
			<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
		</td>

		<td class="thead" width="40%">
			{$lang['PmTitle']}
		</td>
		<td class="thead" width="10%">
		  {if {$folder} == 'sent'}
			{$lang['SenderTo']}
			{else}
			{$lang['Sender']}
			{/if}
		</td>
		<td class="thead" width="10%">
			{$lang['Date_Sent']}
		</td>
	</tr>
	{Des::while}{MassegeList}
	<tr>
				<td class="row1" width="3%" align="center">
			{if {$MassegeList['user_read']} == 1}
			<img title="{$lang['PM_readable']}"
			 src="{$image_path}/dot_nonewfolder.gif" border="0" cellspacing="1" />
			{else}
			<img title="{$lang['New_PM']}"
			 src="{$image_path}/newfolder.gif" border="0" cellspacing="1" />
			{/if}
			</td>
		<td class="row1" width="3%" align="center">
			<input type="checkbox" name="check[]" value="{$MassegeList['id']}" />
		</td>
		<td class="row1" width="40%" align="right">
			<a href="index.php?page=pm_show&amp;show=1&amp;id={$MassegeList['id']}">{$MassegeList['title']}</a>
			<br />
			{if {$MassegeList['user_read']} == 1}
			<font class="readpm">{$lang['PM_readable']}</font>
			{else}
			<font class="unreadpm">{$lang['New_PM']}</font>
			{/if}
		</td>
		<td class="row1" width="10%" align="center">
		  {if {$folder} == 'sent'}
			<a href="index.php?page=profile&amp;show=1&amp;username={$MassegeList['user_to']}">{$MassegeList['user_to']}</a>
			{else}
			<a href="index.php?page=profile&amp;show=1&amp;username={$MassegeList['user_from']}">{$MassegeList['user_from']}</a>
			{/if}
		</td>
		<td class="row1" width="10%" align="center">
			{$MassegeList['date']}
		</td>
	</tr>
	{/Des::while}
	<tr>
				<td class="row1" align="right" colspan="5">
					<img title="{$lang['PM_readable']}"
					 src="{$image_path}/dot_nonewfolder.gif" border="0" cellspacing="1" />
				  {$lang['PM_readable']}
			<br />
				<img title="{$lang['New_PM']}"
				 src="{$image_path}/newfolder.gif" border="0" cellspacing="1" />
				    {$lang['New_PM']}
				</td>
	</tr>
               <tr>
             <td class="row1" align="right" colspan="5">
             {$lang['You_Spent']}
             ({$AllPmNum})
             {$lang['From_Max']}
             {if {$AllowedPmNum} != 0}
             ({$AllowedPmNum})
             {else}
             ({$lang['Infinite']})
             {/if}

             <br />
               {if {$folder} == 'sent'}
             <input class="button" name="sent_empty" type="submit" value="{$lang['Make_Sent_Empty']}" />
                    {/if}
             {if {$folder} == 'inbox'}
                <input class="button" name="inbox_empty" type="submit" value="{$lang['Make_Inbox_Empty']}" />
             {/if}

             </td>
    </tr>
		<tr>
				<td class="row1" align="center" colspan="5">
				<input class="button" name="delet" type="submit" value="{$lang['Del_selected_PM']}" />
				<input class="button" name="readable" type="submit" value="{$lang['Make_it_readable']}" />
				 <input class="button" name="unreadable" type="submit" value="{$lang['Make_it_unreadable']}" />
				</td>
	</tr>

	</table>
</form>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>


          <td width="2%" align="right">
          {if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
    <tr align="center">
       <td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
 title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
          <table width="120" border="0" cellspacing="1" class="border">
             <tr align="center">
                <td class="tbar">
             {$lang['Go_to_the_page']}
                </td>
             </tr>
             <tr align="center">
                <td class="menu_popup">
                <a href="javascript:switchMenuNone('pager_top')">
                <form name="misc" method="post" action="index.php?page=misc&pagenav_pm=1">
                <input name="folder" type="hidden" value="<?php echo $PowerBB->_GET['folder']; ?>">
                <input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
                <input class="button" type="submit" value="{$lang['Go']}" name="page_button">
                </a>
                </form>
                </td>
             </tr>
             </table>
          </div>
          </td>
       <td align="left">{$pager}</td>
    </tr>
</table>
{/if}
          </td>
          </tr>
       </table>
		</td>
	</tr>
</table>



<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />
Return current item: PBBoard