<?xml version="1.0" encoding="ISO-8859-1"?>

<style name="المودة 2008 الإصدار السادس" vbversion="3.7.0 Release Candidate 4" product="vbulletin" type="custom">
	<templategroup name="CSS Special Templates">
		<template name=".alt1, .alt1Active" templatetype="css" date="1207385658" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:43:"#F7E7E4 url(mwa2008/mwa06/misc/bakalt1.gif)";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#A81900";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#A81900";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".alt2, .alt2Active" templatetype="css" date="1207385712" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:47:"transparent url(mwa2008/mwa06/misc/bakalt2.gif)";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".alt3" templatetype="css" date="1067012043" username="Kier" version=""><![CDATA[a:7:{s:10:"background";s:7:"#D5D8E5";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".button" templatetype="css" date="1207323277" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:46:"transparent url(mwa2008/mwa06/misc/bakbut.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:189:"height: 23px;  text-align: center;  
cursor: hand; 
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";}]]></template>
		<template name=".fjdpth0" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".fjdpth1" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".fjdpth2" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".fjdpth3" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".fjdpth4" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".fjsel" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:2:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";}]]></template>
		<template name=".highlight" templatetype="css" date="1207324516" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#A81900";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".inlinemod" templatetype="css" date="1207319327" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:49:"transparent url(mwa2008/mwa06/misc/bakinline.gif)";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".navbar" templatetype="css" date="1206252865" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".page" templatetype="css" date="1207385447" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".panel" templatetype="css" date="1207414447" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:72:"transparent url(mwa2008/mwa06/misc/gradient_panel.gif) repeat-x top left";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:171:"padding: 10px;
border: 2px inset;
border-left: 1px solid #876500; 
border-top: 1px solid #876500; 
border-right: 1px solid #FFFFFF; 
border-bottom: 1px solid #FFFFFF;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".panelsurround" templatetype="css" date="1207414447" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:11:"transparent";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:26:"border: 1px solid #876500;";}]]></template>
		<template name=".smallfont" templatetype="css" date="1189279801" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".tborder" templatetype="css" date="1207325057" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:7:"#EDD2CD";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:151:"border-left: 0px solid transparent; 
border-top: 0px solid transparent; 
border-right: 0px solid transparent; 
border-bottom: 0px solid transparent;";}]]></template>
		<template name=".tcat" templatetype="css" date="1207324955" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:48:"transparent url(mwa2008/mwa06/misc/bakthead.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".tfoot" templatetype="css" date="1207323368" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:48:"transparent url(mwa2008/mwa06/misc/bakthead.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".thead" templatetype="css" date="1207324720" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:48:"transparent url(mwa2008/mwa06/misc/bakthead.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:135:"border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".time" templatetype="css" date="1207324516" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#A81900";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name=".vbmenu_control" templatetype="css" date="1207323277" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:48:"transparent url(mwa2008/mwa06/misc/bakthead.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:184:"padding: 3px 6px 3px 6px;
white-space: nowrap;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#690000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name=".vbmenu_hilite" templatetype="css" date="1207326545" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#E9CDCB";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:175:"white-space: nowrap;
cursor: pointer;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".vbmenu_option" templatetype="css" date="1207323277" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:47:"transparent url(mwa2008/mwa06/misc/bakalt1.gif)";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:175:"white-space: nowrap;
cursor: pointer;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name=".vbmenu_popup" templatetype="css" date="1207325256" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:26:"border: 1px solid #876500;";}]]></template>
		<template name=".wysiwyg" templatetype="css" date="1207385712" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:49:"transparent url(mwa2008/mwa06/misc/bakinput1.gif)";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:240:"SCROLLBAR-FACE-COLOR: #BB8583;
SCROLLBAR-HIGHLIGHT-COLOR: #C5A298;
SCROLLBAR-SHADOW-COLOR: #F4EBE5;
SCROLLBAR-3DLIGHT-COLOR: #F4EBE5;
SCROLLBAR-ARROW-COLOR: #F4EBE5;
SCROLLBAR-TRACK-COLOR: #E3CAC2;
SCROLLBAR-DARKSHADOW-COLOR: #C5A298;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name="body" templatetype="css" date="1207320305" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:7:"#EFD9D9";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:39:"margin: 0px 0px 0px 0px;
padding: 0px;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#870000";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#CC0000";s:15:"text-decoration";s:4:"none";}}]]></template>
		<template name="EXTRA" templatetype="css" date="1207325754" username="ابو راشد" version=""><![CDATA[a:1:{s:3:"all";s:1339:"/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }

/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }

/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #7E4100; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #F7F0F1; }

/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; border: 1px solid #876500;}

/* ***** don't change the following ***** */
form { margin: 0px; }
label { cursor: default; }
.normal { font-weight: bold; }
.inlineimg { vertical-align: middle; }
.underline { text-decoration: underline; }
.vbmenu_hilite * { cursor: pointer; }

/* auto-clearing of floats */
.floatcontainer:after, .block_row:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
.floatcontainer, .block_row { display:inline-block; }
/* IE-mac hide \*/
* html .floatcontainer, * html .block_row { height:1%; }
.floatcontainer, .block_row { display:block; }
/* end IE-mac hide */";}]]></template>
		<template name="EXTRA2" templatetype="css" date="1207331065" username="ابو راشد" version=""><![CDATA[a:1:{s:3:"all";s:1236:"html
{
SCROLLBAR-FACE-COLOR: #BB8583;
SCROLLBAR-HIGHLIGHT-COLOR: #C5A298;
SCROLLBAR-SHADOW-COLOR: #F4EBE5;
SCROLLBAR-3DLIGHT-COLOR: #F4EBE5;
SCROLLBAR-ARROW-COLOR: #F4EBE5;
SCROLLBAR-TRACK-COLOR: #E3CAC2;
SCROLLBAR-DARKSHADOW-COLOR: #C5A298;
}

.page1 
{ 
background-position: top right; 
background-repeat: repeat-y; 
background-image: url(mwa2008/mwa06/misc/mwa/pr.gif); 
background-attachment:scroll; 
} 

.page2 
{ 
background-position: top left; 
background-repeat: repeat-y; 
background-image: url(mwa2008/mwa06/misc/mwa/pl.gif); 
background-attachment:scroll; 
} 

.alt3
{
	color: #870000;
	border: 1px solid #B48A8A;
         background-image: url(mwa2008/mwa06/misc/mwa/postb.gif); 
         background-position: top right; 
         background-repeat: repeat-y; 
         background-attachment:scroll; 
}

.alt4
{
	color: #870000;
	border: 0px solid #B48A8A;
         background-image: url(mwa2008/mwa06/misc/mwa/posta.gif); 
         background-position: top right; 
         background-repeat: repeat-y; 
         background-attachment:scroll; 
}

.mwapost {
font-family:Microsoft Sans Serif;
font-size:8pt;
font-weight: normal;
vertical-align:middle;
letter-spacing:0;
}";}]]></template>
		<template name="legend" templatetype="css" date="1207323277" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:48:"transparent url(mwa2008/mwa06/misc/bakthead.gif)";s:5:"color";s:7:"#690000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:150:"padding: 3px;
border-left: 1px solid #FFFFFF; 
border-top: 1px solid #FFFFFF; 
border-right: 1px solid #876500; 
border-bottom: 1px solid #876500;";}]]></template>
		<template name="select" templatetype="css" date="1207385536" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:7:"#F7E7E4";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:3:"8pt";s:6:"family";s:6:"Tahoma";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="td, th, p, li" templatetype="css" date="1189279801" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
		<template name="td.inlinemod" templatetype="css" date="1204571668" username="ابو راشد" version=""><![CDATA[a:7:{s:10:"background";s:49:"transparent url(mwa2008/mwa04/misc/bakinline.gif)";s:5:"color";s:7:"#c40142";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template>
		<template name="textarea, .bginput" templatetype="css" date="1207384806" username="ابو راشد" version=""><![CDATA[a:4:{s:10:"background";s:49:"transparent url(mwa2008/mwa06/misc/bakinput1.gif)";s:5:"color";s:7:"#870000";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"12pt";s:6:"family";s:5:"Arial";}s:5:"EXTRA";s:0:"";}]]></template>
	</templategroup>
	<templategroup name="StyleVar Special Templates">
		<template name="cellpadding" templatetype="stylevar" date="1207324831" username="ابو راشد" version=""><![CDATA[3]]></template>
		<template name="cellspacing" templatetype="stylevar" date="1207324884" username="ابو راشد" version=""><![CDATA[2" border="1]]></template>
		<template name="closedthreadimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/threadclosed.gif]]></template>
		<template name="codeblockwidth" templatetype="stylevar" date="1182873873" username="ابو راشد" version=""><![CDATA[550px]]></template>
		<template name="contenttype" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[text/html; charset=ISO-8859-1]]></template>
		<template name="formspacer" templatetype="stylevar" date="1207324831" username="ابو راشد" version=""><![CDATA[3]]></template>
		<template name="formwidth" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="formwidth_usercp" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="htmldoctype" templatetype="stylevar" date="1169077434" username="ابو راشد" version=""><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></template>
		<template name="htmlextrasfolder" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[htmlextras]]></template>
		<template name="imagesfolder" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[images]]></template>
		<template name="imgdir_button" templatetype="stylevar" date="1207319216" username="ابو راشد" version=""><![CDATA[mwa2008/mwa06/buttons]]></template>
		<template name="imgdir_misc" templatetype="stylevar" date="1207319216" username="ابو راشد" version=""><![CDATA[mwa2008/mwa06/misc]]></template>
		<template name="imgdir_rating" templatetype="stylevar" date="1207319216" username="ابو راشد" version=""><![CDATA[mwa2008/mwa06/rating]]></template>
		<template name="imgdir_statusicon" templatetype="stylevar" date="1207319216" username="ابو راشد" version=""><![CDATA[mwa2008/mwa06/statusicon]]></template>
		<template name="messagewidth" templatetype="stylevar" date="1180160684" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="messagewidth_usercp" templatetype="stylevar" date="1180250640" username="ابو راشد" version=""><![CDATA[99%]]></template>
		<template name="newreplyimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/reply.gif]]></template>
		<template name="newthreadimage" templatetype="stylevar" date="1063180778" username="Kier" version=""><![CDATA[images2/buttons/newthread.gif]]></template>
		<template name="outerborderwidth" templatetype="stylevar" date="1103662055" username="freddie" version=""><![CDATA[20]]></template>
		<template name="outertablewidth" templatetype="stylevar" date="1206342484" username="ابو راشد" version=""><![CDATA[100%]]></template>
		<template name="spacersize" templatetype="stylevar" date="1206944239" username="ابو راشد" version=""><![CDATA[20]]></template>
		<template name="tablewidth" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[100%]]></template>
		<template name="textareacols_ie4" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[70]]></template>
		<template name="textareacols_ns4" templatetype="stylevar" date="1040219143" username="Kier" version=""><![CDATA[50]]></template>
		<template name="textareacols_ns6" templatetype="stylevar" date="1040392844" username="Kier" version=""><![CDATA[65]]></template>
	</templategroup>
	<templategroup name="vBadvanced CMPS">
		<template name="adv_portal" templatetype="template" date="1203555288" username="" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title><if condition="$pagetitle">$pagetitle - </if>$vboptions[bbtitle]</title>

$headinclude

</head>
<body>

$header

$navbar

<table align="center" cellspacing="0" cellpadding="0" width="100%">
        <tr valign="top">
                <if condition="$show['left_column']">
                        <td width="$vba_style[portal_leftcolwidth]"<if condition="$show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
                                $home[leftblocks]
                        </td>
                </if>
                <if condition="$show['center_column']">
                        <td valign="top">
                                $home[centerblocks]
                        </td>
                </if>
                <if condition="$show['right_column']">
                        <td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
                                $home[rightblocks]
                        </td>
                </if>
        </tr>
</table>

$footer

</body>
</html>]]></template>
		<template name="adv_portal_emailmake" templatetype="template" date="1203555288" username="" version=""><![CDATA[<!-- بداية ايقونه بدون الحقوق -->
<tr>
<td class="alt1" align="middle">
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=', 
  'list', 'width=400,height=210')">عمل صورة بدون حقوق</a>
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=', 
  'list', 'width=400,height=210')"><img border="0" src="http://q2q4.net.googlepages.com/hotmail1.bmp" width="180" height="21"></a></td>
</tr>
<!-- نهاية ايقونه بدون الحقوق -->

<!-- بداية ايقونه مع حقوق -->
<tr>
<td class="alt1" align="middle">
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=mwadah.com', 
  'list', 'width=400,height=210')">عمل صورة مع الحقوق</a>
<a href="#" onClick="javascript:window.open('http://scripts.internetplus.biz/index1.php?url=mwadah.com', 
  'list', 'width=400,height=210')">
<img border="0" src="http://q2q4.net.googlepages.com/hotmail.bmp" width="180" height="31"></a></td>
</tr>
<!-- نهاية ايقونه مع حقوق -->									
<tr><td class="thead" align="center">
<a href="http://q2q4.com">تنفيذ : الزلزال</a>
</td></tr>]]></template>
		<template name="adv_portal_flashiat" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.ashefaa.com/files/flash/farshy.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24439.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.ashefaa.com/files/flash/SH-1.SWF&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24440.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/ssalat.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24441.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/ayndark.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24442.imgcache" border="0"></a></td></tr>
 
<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/7gabe.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24443.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/Tawba.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24444.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/qwafel.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24445.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/Islamway_Fajr.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24446.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/almoot.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24447.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/andatokom.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24448.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/ashraqat.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24449.imgcache" border="0"></a></td></tr>
 
<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/iqraa.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24450.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/2/7jab2.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24451.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/Afaag1.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24452.imgcache" border="0"></a></td></tr>

<tr><td class="alt1" align="center"><a href="http://www.mwadah.com/flash.php?play=http://www.islamway.com/flashes/7/sanureehem.swf&w=600&h=400"><img src="http://www.mwadah.com/imgcache/24453.imgcache" border="0"></a></td></tr>]]></template>
		<template name="adv_portal_footer" templatetype="template" date="1203555288" username="" version=""><![CDATA[<!-- Do NOT remove this copyright notice. Doing so is a violation of your user agreement! -->

]]></template>
		<template name="adv_portal_forums" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="alt1" align="right">
$HTMLFORUMS
</td></tr>]]></template>
		<template name="adv_portal_groups" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$showgroupsbit

<tr><td class="thead" align="center">
<a href=$vboptions[bburl]/group.php?>عرض جميع المجموعات</a>
</td></tr>]]></template>
		<template name="adv_portal_groups_bit" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="alt1">
<a href=$vboptions[bburl]/group.php?groupid=$showgroup[groupid]>$showgroup[name]</a><br />
عدد الأعضاء : $showgroup[members]<br />
عدد الصور : $showgroup[picturecount]
</td></tr>]]></template>
		<template name="adv_portal_latestthreads_head" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="thead" align="right">
للمزيد من التفاصيل ضع مؤشر الفاره أو الماوس على أي موضوع
</td>

<td class="thead" width="15">$vbphrase[replies]</td>
<td class="thead" width="15">$vbphrase[views]</td>

<if condition="$mod_options['portal_threads_showforum']">
<td align="center" width="50" class="thead">$vbphrase[forum]</td></if>

</tr>]]></template>
		<template name="adv_portal_latesttopicbits" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$mods['modcol'] == 1">

	<tr><td class="alt1">

			<if condition="$thread['rating']">
				<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
			</if>

		<if condition="$mod_options['portal_threads_showicon']">
			<if condition="$show['threadicon']"><img alt="" border="0" src="$thread[threadiconpath]" title="$thread[threadicontitle]" align="absmiddle" /></if>
		</if>

<if condition="$thread['subscribed']">
<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /></if>

<a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="" onmouseover="writetxt('الكاتب : $thread[postusername] 
<if condition="$mod_options['portal_threads_showdate']">بتاريخ $thread[postdate] $thread[posttime]</if><br><br>

<if condition="$thread[preview]">
من محتويات الموضوع : $thread[preview]</if>
')" onmouseout="writetxt(0)">$thread[title]</a>

<if condition="$show['lastpost']">
<div class="smallfont" style="text-align:right"><br>
الكاتب : <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername] </a> 
 آخر مشاركة : <a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a>

في $thread[lastpostdate] <span class="time">$thread[lastposttime]</span>
<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" align="absmiddle"/></a>
</div></if>

</td>

<td align="center" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont">$thread[replycount]</span></td>

<td align="center" class="<if condition="$show['lastpost']">alt1<else />alt1</if>"><span class="smallfont">$thread[views]</span></td>

<if condition="$mod_options['portal_threads_showforum']">
<td width="50" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></span></td></if>

</tr>

<else />

	<tr>
		<td class="alt1">
			<if condition="$show['threadicon']">
				<img alt="" src="$thread[threadiconpath]" border="0" title="$thread[threadicontitle]" />
			</if>
			<if condition="$thread['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<span class="smallfont"><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]

</if>$vbphrase[by] $thread[postusername] <if condition="$mod_options['portal_threads_showdate']">$thread[postdate] $thread[posttime]</if>"><if condition="$show['gotonewpost']">$thread[title]<else />$thread[title]</if></a></span>

			<if condition="$thread['rating']">
				<div style="margin-top:4px"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></div>
			</if>
			<if condition="$show['lastpost']">
				<div class="smallfont" style="margin-top:4px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]"  align="absmiddle"/></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a></div>
				<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
			</if>

	<if condition="$mod_options['portal_threads_showforum']">
				<div class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></div>
			</if>
		<div class="smallfont">$thread[replycount] $vbphrase[replies], $thread[views] $vbphrase[views]</div></td>
	</tr>
</if>
]]></template>
		<template name="adv_portal_module_shell" templatetype="template" date="1199858614" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$mods[formcode]

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:13px">

			<if condition="$vba_style['portal_collapsemods']">
				<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]; padding-top:0px"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
			</if>
</td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl1.gif"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">

	<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">

<tr><td style="background: #BEBDDF url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/bsr.gif">
</td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr><td class="thead" align="center" colspan="9">
<span class="smallfont">$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></span>
</td></tr>

		<if condition="$show['tablerow']">
			<tr>
				<td class="alt1">
					$modulehtml
				</td>
			</tr>
		<else />
			$modulehtml
		</if>
	</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<div><img src="$vboptions[bburl]/$vboptions[cleargifurl]" height="$vba_style[portal_vspace]" alt="" /></div>

<if condition="$mods['formcode']"></form></if>]]></template>
		<template name="adv_portal_module_wrapper" templatetype="template" date="1203555288" username="" version=""><![CDATA[$mods[formcode]

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:8px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">

<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/bsr.gif">
</td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr><td class="thead" align="center" colspan="9">

                                <if condition="$vba_style['portal_collapsemods']">
                                        <a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
                                </if>

<span class="smallfont">$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></span>
</td></tr>

                <tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">

		<if condition="$show['tablerow']">
			<tr>
				<td class="alt1">
					$modulehtml
				</td>
			</tr>
		<else />
			$modulehtml
		</if>
	</tbody>
</table>


<!-- بداية إطار سفلي-->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/bsl.gif">
</td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي-->

<div><img src="$vboptions[bburl]/$vboptions[cleargifurl]" height="$vba_style[portal_vspace]" alt="" /></div>

<if condition="$mods['formcode']"></form></if>]]></template>
		<template name="adv_portal_mostpost" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<!-- بداية الأعضاء الأكثر مشاركة-->
<tr>
<td class="thead" width="25%" align="center">آخر 24 ساعة</td>
<td class="thead" width="25%" align="center">آخر 7 أيام</td>
<td class="thead" width="25%" align="center">آخر 28 يوم</td>
<td class="thead" width="25%" align="center">منذ بدء المنتدى</td>
</tr>
$topposters
<!-- نهاية الأعضاء الأكثر مشاركة-->
]]></template>
		<template name="adv_portal_navigation" templatetype="template" date="1209527644" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[$navigationbits
$customnavigationbits

<tr><td class="alt1">
<span onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$vboptions[bburl]');">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle" border="0">
<a href="javascript:location.reload()">اجعلنا الرئيسية</a></span>
</td></tr>

<tr><td class="alt1">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle" border="0">
<a href="javascript:window.external.AddFavorite('$vboptions[bburl]', '$vboptions[bbtitle]')">
اضفنا في مفضلتك</a>
</td></tr>
]]></template>
		<template name="adv_portal_navigationbits" templatetype="template" date="1203555288" username="" version=""><![CDATA[<tr><td class="alt1">
<div class="smallfont">$navmark <if condition="$link"><a href="$link">$title</a><else />$title</if></div></td></tr>]]></template>
		<template name="adv_portal_newsbits" templatetype="template" date="1203555288" username="" version=""><![CDATA[<if condition="!$mod_options['portal_news_legacy']">
        <tr>
                <td class="thead"><if condition="$mod_options['portal_news_showicon']">$vba_style[portal_blockbullet]</if> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[title]</a></td>
        </tr>
</if>
<tr>
        <td class="<if condition="$mod_options['portal_news_legacy']">thead<else />alt2</if>">
                <if condition="($mod_options['portal_news_showrating'] AND $news['rating']) OR ($news['subscribed'] AND $mod_options['portal_news_showsubscribed'])">
                        <span style="float:$stylevar[right]">
                                <if condition="$mod_options['portal_news_showrating'] AND $news['rating']">
                                        <img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
                                </if>

                                <if condition="$news['subscribed'] AND $mod_options['portal_news_showsubscribed']">
                                        <img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
                                </if>
                        </span>
                </if>
                $news[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]" 2="$news[postusername]">$vbphrase[by_x]</phrase>
        </td>
</tr>
<tr>
        <td align="$stylevar[left]" class="alt1" valign="top">
                <if condition="$show['paperclip']">
                        <span style="float:$stylevar[right]">
                                <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" title="<phrase 1="$news[attach]">$vbphrase[x_attachments]</phrase>" alt="" />
                        </span>
                </if>
                <if condition="$news['avatarpath']">
                        <img align="$stylevar[left]" style="padding:6px" alt="" border="0" src="$news[avatarpath]" title="$news[postusername]'s $vbphrase[avatar]" />
                </if>
                <center>$news[message]</center>

                <if condition="$show['signature']">
                <div>__________________<br />
                $news[signature]</div>
                </if>

                </td>
        </tr>

        <if condition="$news['attachment']">
                <tr class="alt1">
                        <td>
                                <fieldset class="fieldset">
                                <legend>Attached Files</legend>
                                <div style="padding:$stylevar[formspacer]px">
                                        $news[attachment]
                                </div>
                                </fieldset>
                        </td>
                </tr>
        </if>

        <tr class="alt2" valign="middle">
        <td class="alt2" valign="middle">
                <span style="float:right">
                <if condition="$show['editbutton']">
                        <a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]"><img alt="$vbphrase[edit_this_post]" border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
                </if>

                <if condition="$show['replybutton']">
                        <a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&amp;t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]" border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
                </if>

                <if condition="$mod_options['portal_news_showsendfriend']">
                        <a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]" /></a>
                </if>

                <if condition="$mod_options['portal_news_showprintable']">
                        <a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]" /></a>
                </if>
                </span>

                <span class="smallfont">
                <if condition="$mod_options['portal_news_allowreplies']">$news[replycount] <if condition="$news['reply_noformat'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if></if><if condition="$mod_options['portal_news_showviews'] AND $mod_options['portal_news_allowreplies']"> | </if><if condition="$mod_options['portal_news_showviews']">$news[views] $vbphrase[views]</if></span>
        </td>
</tr>]]></template>
		<template name="adv_portal_news_archivebits" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$mods['modcol'] == 1">
<tr><td class="alt1" align="$stylevar[left]">
<if condition="$mod_options['portal_news_showicon']">
<if condition="$show['threadicon']"><img alt="" border="0" src="$news[threadiconpath]" title="$news[threadicontitle]" align="absmiddle"/></if></if>

			<if condition="$news['subscribed']">
				<span style="float:$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /></span>
			</if>

<a href="$vboptions[bburl]/showthread.php?t=$news[threadid]" title="" onmouseover="writetxt('الكاتب $news[postusername]
في $news[postdate] $news[posttime]

<br><br>من محتويات الموضوع : $news[preview]
')" onmouseout="writetxt(0)">$news[title]</a>

<if condition="$news['rating']">
<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
				</if>
			</div>

<if condition="$show['lastpost']">
<div class="smallfont" style="text-align:right">
الكاتب <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]">$news[postusername]</a> 
 آخر مشاركة : <a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$news[threadid]">$news[lastposter]</a>

في $news[lastpostdate] <span class="time">$news[lastposttime]</span>

<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]"  align="absmiddle"/></a></div></if>

</td>

		<td align="center" class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont">$news[replycount]</span></td>
		<td align="center" class="<if condition="$show['lastpost']">alt1<else />alt1</if>"><span class="smallfont">$news[views]</span></td>
		<if condition="$mod_options['portal_newsarchive_showforum']">
			<td class="<if condition="$show['lastpost']">alt2<else />alt2</if>"><span class="smallfont"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[forumtitle]</a></span></td>
		</if>
	</tr>

<else />

	<tr>
		<td class="alt1">
			<if condition="$news[threadiconpath]">
				<img alt="" src="$news[threadiconpath]" border="0" title="$news[threadicontitle]" />
			</if>
			<if condition="$news['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<span class="smallfont"><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]" title="<if condition="$news[preview]">$news[preview]

</if>$vbphrase[by] $news[postusername] $news[postdate] $news[posttime]">$news[title]</a></span>
			<if condition="$show['lastpost']">
				<div class="smallfont">$vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&amp;t=$news[threadid]">$news[lastposter]</a></div>
				<div class="smallfont">$news[lastpostdate] <span class="time">$news[lastposttime]</span></div>
			</if>
			<if condition="$mod_options['portal_newsarchive_showforum']">
				<div class="smallfont"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[forumtitle]</a></div>
			</if>
			<div class="smallfont">$news[replycount] $vbphrase[replies], $news[views] $vbphrase[views]</div>
		</td>
	</tr>
</if>
]]></template>
		<template name="adv_portal_news_archive_head" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr>
	<td class="thead" width="100%">للمزيد من التفاصيل ضع مؤشر الفاره أو الماوس على أي موضوع </td>
	<td class="thead" width="15">$vbphrase[replies]</td>
	<td class="thead" width="15">$vbphrase[views]</td>
	<if condition="$mod_options['portal_newsarchive_showforum']">
		<td align="center" class="thead" width="10%">$vbphrase[forum]</td>
	</if>
</tr>]]></template>
		<template name="adv_portal_randgroups" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$showrandgroupsbit

<tr><td class="thead" align="center">
<a href=$vboptions[bburl]/group.php?>عرض جميع المجموعات</a>
</td></tr>]]></template>
		<template name="adv_portal_randgroups_bit" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="alt1">
<a href=$vboptions[bburl]/group.php?groupid=$showrandgroup[groupid]>$showrandgroup[name]</a><br />
عدد الأعضاء : $showrandgroup[members]<br />
عدد الصور : $showrandgroup[picturecount]
</td></tr>]]></template>
		<template name="adv_portal_recthreads_exp" templatetype="template" date="1205526099" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<tr>
	<if condition="$mod_options['portal_threads_showicon']">
		<td class="alt2"><if condition="$show['threadicon']"><img alt="" border="0" src="$thread[threadiconpath]" title="$thread[threadicontitle]" /></if></td>
	</if>

	<td class="alt1">
		<if condition="$thread['subscribed'] OR $show['paperclip'] OR ($thread['sticky'] AND $mod_options['portal_threads_stickyicon'])">
		<span style="float:$stylevar[right]">
			<if condition="$thread['subscribed']">
				<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
			</if>
			<if condition="$show['paperclip']">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" title="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" alt="" />
			</if>
			<if condition="$thread['sticky'] AND $mod_options['portal_threads_stickyicon']">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" title="$vbphrase[sticky_thread]" alt="" />
			</if>
		</span>
		</if>
		<if condition="$mod_options['portal_threads_newpostarrow'] AND $show['gotonewpost']">
			<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;goto=newpost"><img alt="$vbphrase[go_to_first_new_post]" src="$stylevar[imgdir_button]/firstnew.gif" border="0" class="inlineimg" /></a>
		</if>
		<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]" title="$thread[preview]"><if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if></a>
		<if condition="$mod_options['portal_threads_multipage'] AND $show['pagenav']">
			<span class="smallfont">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" border="0" alt="" /> $thread[pagenav]<if condition="$show[pagenavmore]">... <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]">$vbphrase[last_page]</a></if>)</span>
		</if>
		<if condition="$thread['rating']">
			<span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
		</if><br />
		<if condition="$mod_options['portal_threads_threadstarter']">
				<if condition="$thread[postuserid]">
					<font color="#8D0000">الكاتب : </font><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a>
				<else />
					<font color="#8D0000">الكاتب : </font>$thread[postusername]
				</if>
		</if>

<if condition="$show['lastpost']">
<font color="#8D0000">آخر رد : </font>
<a href="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a>
<font color="#8D0000">في : </font>$thread[lastpostdate] $thread[lastposttime]
<a target="_blank" href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$thread[lastpostid]#post$thread[lastpostid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a>
</if>

	</td>
	<if condition="$mod_options['portal_threads_replies']">
		<td align="center" class="alt2"><span class="smallfont">$thread[replycount]</span></td>
	</if>
	<if condition="$mod_options['portal_threads_views']">
		<td align="center" class="alt1"><span class="smallfont">$thread[views]</span></td>
	</if>
	<if condition="$mod_options['portal_threads_showforum']">
		<td class="alt2"><span class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></span></td>
	</if>
</tr>]]></template>
		<template name="adv_portal_recthreads_exp_head" templatetype="template" date="1203555288" username="" version=""><![CDATA[<tr>
	<if condition="$mod_options['portal_threads_showicon']">
		<td class="thead" width="2%">&nbsp;</td>
	</if>
	<td class="thead" width="50%"><if condition="$mod_options['portal_threads_showrating']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>$vbphrase[title_username_date]</td>
	<if condition="$mod_options['portal_threads_replies']">
		<td class="thead" width="2%">$vbphrase[replies]</td>
	</if>
	<if condition="$mod_options['portal_threads_views']">
		<td class="thead" width="2%">$vbphrase[views]</td>
	</if>
	<if condition="$mod_options['portal_threads_showforum']">
		<td align="center" class="thead" width="20%">$vbphrase[forum]</td>
	</if>
</tr>]]></template>
		<template name="adv_portal_sohofweb" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr><td class="alt1" id="sohofwebcont" align="right">
إختر الدولة :<br><br>

<li><a href="javascript:ajaxpage('modules/sohofweb/1.htm', 'sohofwebcont');">السعودية</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/2.htm', 'sohofwebcont');">الكويت</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/3.htm', 'sohofwebcont');">الإمارات</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/4.htm', 'sohofwebcont');">البحرين</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/5.htm', 'sohofwebcont');">قطر</a></li>
<li><a href="javascript:ajaxpage('modules/sohofweb/6.htm', 'sohofwebcont');">عمان</a></li><br><br>

صحف ومجلات سعودية :<br><br>

<li><a href='http://www.al-jazirah.com' target='_blank'>جريدة الجزيرة</a></li>
<li><a href='http://www.alriyadh.com' target='_blank'>جريدة الرياض</a></li>
<li><a href='http://www.alwatan.com.sa' target='_blank'>جريدة الوطن</a></li>
<li><a href='http://www.okaz.com.sa' target='_blank' >جريدة عكاظ</a></li>
<li><a href='http://www.almadinapress.com' target='_blank' >جريدة المدينة</a></li>
<li><a href='http://www.alyaum.com/' target='_blank' >جريدة اليوم</a></li>
<li><a href='http://www.asharqalawsat.com' target='_blank' >جريدة الشرق الأوسط</a></li>
<li><a href='http://www.albilad-daily.com' target='_blank' >جريدة البلاد السعودية</a></li>
<li><a href='http://www.aleqtisadiah.com' target='_blank' >جريدة الإقتصادية</a></li>
<li><a href='http://www.arriyadiyah.com' target='_blank' >جريدة الرياضية</a></li>
<li><a href='http://www.itijahat.com/' target='_blank' >جريدة اتجاهات</a></li>
<li><a href='http://www.al-ghaya.com' target='_blank' >جريدة الغاية</a></li><br><br>
<li><a href='http://www.yamamahmag.com' target='_blank' >مجلة اليمامة</a></li>
<li><a href='http://www.ecoworld-mag.com' target='_blank' >مجلة عالم الإقتصاد</a></li>
<li><a href='http://www.angelfire.com/mn/almoalem/' target='_blank' >مجلة المعلم</a></li>
<li><a href='http://www.ofouq.com' target='_blank' >مجلة أفق الثقافية</a></li>
<li><a href='http://www.makkahedu.gov.sa/tarjamat_1/ammabad.htm' target='_blank' >مجلة ترجمات</a></li>
<li><a href='http://www.arabicmagazine.com' target='_blank' >المجلة العربية</a></li>
<li><a href='http://www.almarefah.com' target='_blank' >مجلة المعرفة</a></li>
<li><a href='http://www.fawasel.net' target='_blank' >مجلة فواصل</a></li>
<li><a href='http://www.altahlya.com' target='_blank' >مجلة التحلية السعودية</a></li>
<li><a href='http://www.adumatu.com' target='_blank' >مجلة ادوماتو</a></li><br><br>
<li><a href='http://www.kulakhbar.com' target='_blank' >كل الاخبار</a></li>
</td></tr>

<tr><td class="thead" align="center">
<a target="_blank" href="http://www.mwadah.com">فكرة وتنفيذ المودة</a>
</td></tr>

<script type="text/javascript">

/***********************************************
* Dynamic Ajax Content- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var loadedobjects=""
var rootdomain="http://"+window.location.hostname

function ajaxpage(url, containerid){
var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
}
page_request.open('GET', url, true)
page_request.send(null)
}

function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
}

function loadobjs(){
if (!document.getElementById)
return
for (i=0; i<arguments.length; i++){
var file=arguments[i]
var fileref=""
if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceeding
if (file.indexOf(".js")!=-1){ //If object is a js file
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=-1){ //If object is a css file
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}
}
if (fileref!=""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" " //Remember this object as being already added to page
}
}
}

</script>]]></template>
		<template name="adv_portal_welcomeblock" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr>
<td class="alt1">

	<if condition="$mods['modcol'] == 1">
		<if condition="!$show['guest']">

			<if condition="$avatarurl">
				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
			</td>
			<td class="alt1" valign="top" width="100%">
			</if>
				<if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
					<div class="smallfont" style="float:$stylevar[right]">
					<if condition="$bbuserinfo['reputationdisplay']">
						$vbphrase[rep_power]: $reppower
						<div align="$stylevar[right]" style="margin-bottom:5px">$bbuserinfo[reputationdisplay]</div>
					</if>
					<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
						<div align="$stylevar[right]" style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
					</if>
					</div>
				</if>

				<span class="smallfont"><phrase 1="$bbuserinfo[musername]">$vbphrase[welcome_back_x]</phrase><br />
				<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
				<if condition="$mod_options['portal_welcome_newposts']">
					<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
				</if>

				<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">$vbphrase[log_out]</a></span>

				<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
						</td>
					</tr>
					<tr>
						<td class="thead" colspan="2"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a>
<span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
</td>
					</tr>
				</if>
		<else />

			<table width="100%" cellspacing="3" cellpadding="0">
				<tr>
					<td nowrap="nowrap"><span class="smallfont">$vbphrase[user_name]</span></td>
					<td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="12" type="text" /></td>
					<td nowrap="nowrap"><span class="smallfont"><input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]</span></td>
					<td align="center" rowspan="2" width="100%"><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></td>
				</tr>
				<tr>
					<td><span class="smallfont">$vbphrase[password]</span></td>
					<td><input class="bginput" name="vb_login_password" size="12" type="password" /></td>
					<td><input class="button" type="submit" value="$vbphrase[log_in]" /></td>
				</tr>
			</table>

		</if>

	<else />

		<if condition="$bbuserinfo['userid']">
			<span class="smallfont"><phrase 1="$bbuserinfo[musername]">$vbphrase[welcome_back_x]</phrase></span><br />

		<if condition="$mod_options['portal_welcome_avatar']">
			<div style="padding:4px">
				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
			</div>
		</if>
		<div class="smallfont">
		<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
		<if condition="$mod_options['portal_welcome_newposts']">
			<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
		</if>

		<if condition="$bbuserinfo['reputationdisplay']">
			<div style="margin-top:5px; margin-bottom:5px">$vbphrase[rep_power]: $reppower<br />
			$bbuserinfo[reputationdisplay]</div>
		</if>
		<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
			<div style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
		</if>

		<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">$vbphrase[log_out]</a></div>

		<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
			</td>
			</tr>
			<tr>
			<td class="thead"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
			</tr>
			<tr>
			<td class="alt1"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
		</if>

		<else />
			<div class="smallfont" style="padding:2px">$vbphrase[user_name]:<br />
				<input class="bginput" name="vb_login_username" size="12" type="text" /><br />
				$vbphrase[password]:<br />
				<input class="bginput" name="vb_login_password" size="12" type="password" /><br />
				<input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]

				<div style="margin-top:3px; margin-bottom:6px;">
					<input class="button" type="submit" value="$vbphrase[log_in]" />
				</div>

			<phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase>
			</div>

	</if>
</if>
</td>
</tr>]]></template>
	</templategroup>
	<templategroup name="قوالب الالبوم">
		<template name="album_pictureview" templatetype="template" date="1202948228" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$usercss
$picturecomment_css
<title>$vboptions[bbtitle] - <phrase 1="$userinfo[username]" 2="$albuminfo[title_html]">$vbphrase[xs_album_y]</phrase> - $vbphrase[picture]</title>
</head>
<body>
$header
$navbar

<div id="usercss">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['picture_nav']">
			<div class="smallfont" style="float: $stylevar[right]">
				<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text_short]</a> |
				<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text_short]</a>
			</div>
		</if>
		
		<phrase 1="$pic_location[pic_position]" 2="$albuminfo[picturecount]" 3="$albuminfo[title]">$vbphrase[picture_x_of_y_from_album_z]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1" align="center">
		<table width="<if condition="$pictureinfo['width'] < 400">400<else />$pictureinfo[width]</if>" cellpadding="$stylevar[cellpadding]">
		<tr>
			<td align="center"><img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_html]" /></td>
		</tr>
		<if condition="$pictureinfo['caption_html']">
			<tr>
				<td align="$stylevar[left]"><em>$pictureinfo[caption_html]</em></td>
			</tr>
		</if>


<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->
<tr>
                <td align="$stylevar[left]"><table width="80%" border="0" class="tborder" align="center" cellpadding="3" cellspacing="0">
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">رابط الصورة : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield2" class="bginput" type="text" value="$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">البي بي كود : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield3" class="bginput" type="text" value="[img]$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid][/img]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">كود الإدراج : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield" class="bginput" type="text" value="<img src='$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]' style='border:1px solid #000000;' >" size="50" READONLY>
                    </span></div></td>
                  </tr>
                </table>
          
                </td>
            </tr>
<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->

		<tr>
			<td align="$stylevar[left]" class="smallfont">
				<if condition="$show['edit_picture_option'] OR $show['add_group_link'] OR $show['reportlink']">
				<div class="smallfont normal" style="float: $stylevar[right]">
					<if condition="$show['edit_picture_option']">
						<div><a href="album.php?$session[sessionurl]do=editpictures&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[edit_picture]</a></div>
					</if>
					<if condition="$show['add_group_link']">
						<div><a href="album.php?$session[sessionurl]do=addgroup&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[add_to_group]</a></div>
					</if>
					<if condition="$show['reportlink']">
						<div><a href="album.php?$session[sessionurl]do=report&amp;albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[report_picture]</a></div>
					</if>
				</div>
				</if>
				<span class="shade">$vbphrase[picture_added]</span> $pictureinfo[adddate] <if condition="!$show['detailedtime']"><span class="time">$pictureinfo[addtime]</span></if>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>

<if condition="$show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

$picturecomment_commentarea

<if condition="$show['picturecomment_options'] AND $show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

</div>

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="أكواد BB Code">
		<template name="bbcode_code" templatetype="template" date="1198369741" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
	<pre class="alt1" dir="ltr" style="
		margin: 0px;
		padding: $stylevar[cellpadding]px;
		border: 1px inset;
		width: $stylevar[codeblockwidth];
		height: {$blockheight}px;
		text-align: left;
		overflow: auto">$code</pre>
</div>]]></template>
		<template name="bbcode_html" templatetype="template" date="1198369757" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">$vbphrase[html_code]:</div>
	<pre class="alt1" dir="ltr" style="
		margin: 0px;
		padding: $stylevar[cellpadding]px;
		border: 1px inset;
		width: $stylevar[codeblockwidth];
		height: {$blockheight}px;
		text-align: left;
		overflow: auto">$code</pre>
</div>]]></template>
		<template name="bbcode_php" templatetype="template" date="1198369770" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">$vbphrase[php_code]:</div>
	<div class="alt1" dir="ltr" style="
		margin: 0px;
		padding: $stylevar[cellpadding]px;
		border: 1px inset;
		width: $stylevar[codeblockwidth];
		height: {$blockheight}px;
		text-align: left;
		overflow: auto">
		<code style="white-space:nowrap">
			<!-- php buffer start -->$code<!-- php buffer end -->
		</code>
	</div>
</div>]]></template>
		<template name="bbcode_quote" templatetype="template" date="1198743289" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<br />

<!-- بداية إطار علوي -->
<table width="98%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr2.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t2.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl2.gif"></td></tr>
</table>
<table width="98%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r2.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r2.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c.gif" align="right">
<!-- نهاية إطار علوي -->

<font color="#C30000">$vbphrase[quote] : </font>

<if condition="$show['username']">
<font color="#178200">
<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
</font>

<if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" /></a></if>

<else /></if>

<center>
<if condition="$show['username']">&nbsp;&nbsp; <br /> $message 
<else /><br /> $message  </if>
</center>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l2.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l2.gif">
</td></tr></table>
<table width="98%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br2.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b2.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl2.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

<br />]]></template>
	</templategroup>
	<templategroup name="المحرر">
		<template name="editor_jsoptions_font" templatetype="template" date="1198302055" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[Microsoft Sans Serif
Tahoma
Arial
Times New Roman
AdvertisingBold
AdvertisingExtraBold
AF_Najed
Al Moharib Anbopi Ibrahim
Al Moharib Blook Othman 1
Al Moharib Classic Othman 1
Al Moharib Free Othman 1
AL-Battar
AL-Mateen
Al-Mothnna
ALmusam_free
Andalus
FreeHand
HeshamNormal
MCS ALMAALIM
Mudir MT
Hesham Nagham
Hesham Gornata
HeshamNormal
Hesham Fostat
Hesham Bold
Hesham AlSharq]]></template>
		<template name="editor_smilie" templatetype="template" date="1198443730" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<td class="alt2" align="center" valign="center">$smiliehtml</td>]]></template>
		<template name="editor_smiliebox" templatetype="template" date="1198443627" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$show['smiliebox']"><br />
	<table class="tborder" id="{$editorid}_smiliebox" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center" width="100%">
	$smiliebits
	<if condition="$show['moresmilieslink']">
	<tr>
		<td class="thead" colspan="$vboptions[smcolumns]" align="center"><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a></td>
	</tr>
	</if>
	</table>
<else />
<div id="smiliebox" style="display:none"></div>
</if>]]></template>
		<template name="editor_styles_button_down" templatetype="template" date="1207325542" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #D5BFAA; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_button_hover" templatetype="template" date="1207325542" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #D5BFAA; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_button_normal" templatetype="template" date="1207385591" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: transparent; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_button_selected" templatetype="template" date="1207325595" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #F7E7E4; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_menu_down" templatetype="template" date="1207325595" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #F7E7E4; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_menu_hover" templatetype="template" date="1207325542" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #D5BFAA; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_menu_normal" templatetype="template" date="1207325595" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #F7E7E4; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_styles_popup_down" templatetype="template" date="1207325595" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[background: #F7E7E4; color: #8A5A2F; padding: 1px; border: 1px solid #EBD9D5;]]></template>
		<template name="editor_toolbar_on" templatetype="template" date="1198569215" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$vBeditTemplate[clientscript]

<!-- هاك عام توسيط أزرار المحرر -->
<!-- لحذف الهاك نحذف السطر التالي -->
<center>

<!-- هاك عام ـ زيادة عرض المحرر لعرض الصفحة -->
<!-- لحذف الهاك يتم حذف ما يلي من السطر التالي width="100%" -->

<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
	<td id="$editorid" class="vBulletin_editor" width="100%">
		<div id="{$editorid}_controls" class="controlbar">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
			<if condition="$show['font_bbcode'] OR $show['size_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['font_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>				
				</div></td>
			</if>
			<if condition="$show['size_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['color_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['wysiwygsmilies']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['attach']">
				<td><div class="imagebutton" id="{$editorid}_popup_attach" title="$vbphrase[attachments]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/attach.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
				<!--
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]" /></div></td>
				-->

				<if condition="$show['basicbbcodeonly']">
					<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
					<if condition="$show['basic_bbcode']">
						<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
					</if>	
					<if condition="$show['url_bbcode']">
						<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="$stylevar[imgdir_editor]/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]" /></div></td>
					</if>				
					<if condition="$show['align_bbcode']">				
						<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
						<if condition="$stylevar['textdirection'] == 'ltr'">
						<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
						<else />
						<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
						</if>					
					</if>
					<if condition="$show['quote_bbcode']">
						<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
						<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
					</if>
				</if>

				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="$stylevar[imgdir_editor]/undo.gif" width="21" height="20" alt="$vbphrase[undo]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="$stylevar[imgdir_editor]/redo.gif" width="21" height="20" alt="$vbphrase[redo]" /></div></td>

<!-- هاك عام توسيط أزرار المحرر -->
<!-- تم حذف السطر التالي ويعاد لحذف الهاك -->
<!-- <td width="100%">&nbsp;</td> -->
				
			<if condition="is_browser('ie') AND !is_browser('mac')">
				<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
			</if>
				<td>
					<div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
					<div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
				</td>
			<if condition="$show['wysiwyg_compatible']">
				<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
			</if>
			</tr>
			</table>
			
			<if condition="!$show['basicbbcodeonly']">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
			<if condition="$show['basic_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['align_bbcode']">
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				</if>
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['list_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="$stylevar[imgdir_editor]/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="$stylevar[imgdir_editor]/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]" /></div></td>
			</if>
			<if condition="$show['align_bbcode'] OR $show['list_bbcode']">
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				</if>
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['url_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="$stylevar[imgdir_editor]/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]" /></div></td>
			</if>
			<if condition="$show['img_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
			</if>
			<if condition="$show['quote_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['code_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
			</if>
			<if condition="$show['html_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif"  width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
			</if>
			<if condition="$show['php_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="$stylevar[imgdir_editor]/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
			</if>
				$vBeditTemplate[extrabuttons]
			</tr>
			</table>
			</if>
			
		</div>

<!-- هاك عام توسيط أزرار المحرر -->
<!-- لحذف الهاك نحذف السطر التالي -->
</center>
		
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="top">
			<td class="controlbar">
				<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
			</td>
			<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
		</tr>
		</table>
	</td>
</tr>
</table>

<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />

<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie', undefined, '$ajax_extra');
//-->
</script>]]></template>
	</templategroup>
	<templategroup name="التعليمـــات">
		<template name="FAQ" templatetype="template" date="1203004052" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[faq]<if condition="$show['faqtitle']">: $faqtitle - </if>$vboptions[bbtitle]</title>
</head>
<body>
$header

$navbar

<form action="faq.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="search" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('searchfaq')"><img id="collapseimg_searchfaq" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_searchfaq].gif" alt="$vbphrase[search_faq]" border="0" /></a>
			$vbphrase[search_faq]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_searchfaq" style="$vbcollapse[collapseobj_searchfaq]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]">
			
				<table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr align="$stylevar[left]">
					<td>
						$vbphrase[search_words]:<br />
						<input type="text" class="bginput" name="q" value="$q" size="25" />
					</td>
					<td>
						$vbphrase[matching_options]:<br />
						<select name="match">
							<option value="any" $matchselect[any]>$vbphrase[match_any_words]</option>
							<option value="all" $matchselect[all]>$vbphrase[match_all_words]</option>
							<option value="phr" $matchselect[phr]>$vbphrase[match_complete_phrase]</option>
						</select>
					</td>
					<td>
						$vbphrase[search_in]:<br />
						<select name="titlesonly">
							<option value="1" $titleselect[1]>$vbphrase[search_titles_only]</option>
							<option value="0" $titleselect[0]>$vbphrase[search_titles_and_text]</option>
						</select>
					</td>
				</tr>
				</table>
			
			</div>
		</div>
		
		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" value="$vbphrase[search_faq]" class="button" accesskey="s" />
			<input type="reset" value="$vbphrase[reset_fields]" class="button" accesskey="r" />
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />

$faqbits

$footer
</body>
</html>]]></template>
		<template name="faqbit" templatetype="template" date="1203004052" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<a name="faq_$faq[faqname]"></a>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><if condition="$show['faqsublinks']"><a href="faq.php?$session[sessionurl]faq=$faq[faqname]">$faq[title]</a><else />$faq[title]</if></td>
</tr>
<if condition="$show['faqtext']">
<tr>
	<td class="alt1">$faq[text]</td>
</tr>
</if>
<if condition="$show['faqsublinks']">
<tr>
	<td class="alt1"><ul>$faqsublinks</ul></td>
</tr>
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
]]></template>
	</templategroup>
	<templategroup name="عرض المنتدى/ Forum Display">
		<template name="FORUMDISPLAY" templatetype="template" date="1205565097" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if></title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar

<if condition="$show['forumslist']">
<!-- sub-forum list  -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
	<if condition="$show['forumsearch']">
	<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
	</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="50%">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions[showmoderatorcolumn]">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>
$forumbits
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- / sub-forum list  -->
</if>

<if condition="$show['threadslist']">
<!-- threads list  -->

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />

<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:right" nowrap>

<a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$foruminfo[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a> </if>

</div>&nbsp;
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

$vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span></td>
	<td class="vbmenu_control" id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></td>
	<if condition="$show['forumsearch']">
	<td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
	</if>
</tr>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<tr>
<if condition="$show['search_engine']">
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>	
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
		$vbphrase[thread] / $vbphrase[thread_starter]
	</td>

<!-- هاك عام ـ الكاتب في عمود مستقل -->
<td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td>
<!-- هاك عام ـ الكاتب في عمود مستقل -->

	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>	
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
		<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title]
</td>
<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
</if>
</tr>
</tbody>

<if condition="$show['threads']">
	<!-- show threads -->
	<tbody id="threadbits_forum_$foruminfo[forumid]">
	<if condition="$show['stickies']">
	$threadbits_sticky

<!-- هاك عام ـ فصل المواضيع المثبته -->
<tr><td class="thead" align="center" width="100%" colspan="15">&nbsp;</td></tr>
<!-- هاك عام ـ فصل المواضيع المثبته -->

	</if>
	$threadbits
	</tbody>
	<!-- end show threads -->
<else />
	<!-- show no threads message -->
	<tbody>
	<tr>
		<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
			<div style="padding: 16px">
				<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
				<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
			</div>
		</td>
	</tr>
	</tbody>
	<!-- end show no threads message -->
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['spamctrls']">
					<option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
					</if>
					<if condition="$show['deletethread']">
					<option value="deletethread">$vbphrase[delete_threads]</option>
					<option value="undeletethread">$vbphrase[undelete_threads]</option>
					</if>
					<if condition="$show['openthread']">
					<option value="open">$vbphrase[open_threads]</option>
					<option value="close">$vbphrase[close_threads]</option>
					</if>
					<if condition="$show['approvethread']">
					<option value="approvethread">$vbphrase[approve_threads]</option>
					<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
					</if>
					<if condition="$show['movethread']">
					<option value="stick">$vbphrase[stick_threads]</option>
					<option value="unstick">$vbphrase[unstick_threads]</option>
					<option value="movethread">$vbphrase[move_threads]</option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					</if>
					$template_hook[inlinemod_thread_bottom]
				</optgroup>
				<optgroup label="____________________">
					<option value="viewthread">$vbphrase[view_selected_threads]</option>
					<option value="clearthread">$vbphrase[clear_thread_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			</div>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</td>
	</if>
</tr>
</table>

<!-- / controls below thread list -->

</form>
<br />

$ad_location[ad_forumdisplay_afterthreads]

<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[display_options]</td>
	<if condition="$show['activeusers']">
	<td class="tcat">$vbphrase[currently_active_users]</td>
	</if>
	<if condition="$show['moderators']">
	<td class="tcat">$vbphrase[moderators]</td>
	</if>
</tr>
<tr>
	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
	<if condition="$show['activeusers']">
	<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
	</if>
	<if condition="$show['moderators']">
	<td class="thead">$vbphrase[moderators] : $totalmods</td>
	</if>
</tr>
<tr valign="top">
	<td class="alt1">
	
		<table cellpadding="0" cellspacing="1" border="0">
		<if condition="$prefix_options">
		<tr>
			<td class="smallfont">$vbphrase[prefix]</td>
			<td colspan="3"><select name="prefixid">
				<option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
				<option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
				$prefix_options
			</select></td>
		</tr>
		</if>
		<tr>
			<td class="smallfont" style="padding-$stylevar[right]:6px">$vbphrase[sorted_by]</td>
			<td><select name="sort">
				<option value="title" $sort[title]>$vbphrase[thread_title]</option>
				<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
				<option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option>
				<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
				<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
				<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
				<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
			</select></td>
			<td class="smallfont" style="padding-$stylevar[right]:6px; padding-$stylevar[left]:12px">$vbphrase[sort_order]</td>
			<td><select name="order">
				<option value="asc" $order[asc]>$vbphrase[ascending]</option>
				<option value="desc" $order[desc]>$vbphrase[descending]</option>
			</select></td>
		</tr>
		<tr>
			<td class="smallfont" style="padding-$stylevar[right]:6px">$vbphrase[from_the]</td>
			<td><select name="daysprune">
				<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
				<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
				<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
				<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
				<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
				<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
				<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
				<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
				<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
				<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
				<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
				<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
			</select></td>
			<td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
		</tr>
		</table>
	
	</td>
	<if condition="$show['activeusers']">
	<td class="alt1"><div class="smallfont">$activeusers</div></td>
	</if>
	<if condition="$show['moderators']">
	<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
	</if>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->

<if condition="$show['popups']">
<br />
<!-- popup menu contents -->


<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
	<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr>
	<tr>
		<td class="vbmenu_option">
		<if condition="$show['subscribed_to_forum']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
		</if>
		</td>
	</tr>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">		
		<div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div>
		<div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div>
		<div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div>
		<div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div>
		<if condition="$show['addmoderator']">
		<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
		</if>		
		<if condition="$show['post_new_announcement']">
		<div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div>
		</if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">		
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="f" value="$forumid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / forum tools menu -->

<!-- inline mod menu -->
<if condition="$show['inlinemod']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_thread
	</div>
</if>
<!-- / inline mod menu -->

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
	<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr valign="top">
	<!-- forum tools -->
	<td class="alt1">
		<div class="smallfont">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div>
			<if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
				<if condition="$show['subscribed_to_forum']">
					<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
				</if>
			</div></if>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></div>
		</div>
	</td>
	<!-- / forum tools -->
	
	<!-- search this forum -->
	<td class="alt1">
	<form action="search.php?do=process" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="forumchoice[]" value="$forumid" />
		<input type="hidden" name="childforums" value="1" />
		<input type="hidden" name="exactname" value="1" />
		<strong>$vbphrase[search_this_forum]</strong> :<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
	</div>
	</form>
	</td>
	<!-- / search this forum -->	
</tr>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<if condition="$show['ajax_js']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	var titlemaxchars = parseInt("$vboptions[titlemaxchars]");
	//-->
	</script>
</if>

<!-- ############## END THREADS LIST ##############  -->
</if>

$forumhome_markread_script

<if condition="$show['popups'] AND $show['forumsearch']">
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="forumchoice[]" value="$forumid" />
			<input type="hidden" name="childforums" value="1" />
			<input type="hidden" name="exactname" value="1" />
			<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
		</td>
	</tr>

<!-- هاك عام ـ البحث في العناوين -->
<tr><td class="vbmenu_option">
<input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]
</td></tr>
<!-- هاك عام ـ البحث في العناوين -->

	<tr>
		<td class="vbmenu_option" title="nohilite">
			<label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
			&nbsp;
			<label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / forum search menu -->
</if>

<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
	<td class="smallfont">$vbphrase[no_new_posts]</td>
	<if condition="$vboptions['usehotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
		<td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
<tr>
	<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
	<td class="smallfont">$vbphrase[thread_is_closed]</td>
	<if condition="$show['dotthreads']">
		<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
		<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
	<else />
		<td colspan="2">&nbsp;</td>
	</if>
</tr>
</table>
<else />
<table cellpadding="2" cellspacing="0" border="0" align="center"><tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
		<if condition="$vboptions['showlocks']">
			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</if>
</tr></table>
</if>
<!-- / icon key -->

<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
	<td width="100%">
		<div class="smallfont">&nbsp;</div>
		<if condition="$show['threadslist']">$forumrules</if>
	</td>
	<td>
		$forumjump
		<if condition="!$show['popups'] AND $show['adminoptions']">
			<br />
			<form action="moderator.php" method="get">			
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="f" value="$forumid" />
			<div class="smallfont"><strong>$vbphrase[admin_tools]</strong> :</div>
			<select name="do" onchange="this.form.submit();">
				<optgroup label="$vbphrase[admin_tools]">
					<option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
					<option value="modattach">$vbphrase[view_attachment_queue]</option>
					<option value="move">$vbphrase[mass_move]</option>
					<option value="prune">$vbphrase[mass_prune]</option>
					<if condition="$show['addmoderator']">
						<option value="addmoderator">$vbphrase[add_moderator]</option>
					</if>
					<if condition="$show['post_new_announcement']">
						<option value="postannouncement">$vbphrase[post_new_announcement]</option>
					</if>
				</optgroup>
			</select>$gobutton			
			</form>
		</if>
	</td>
</tr>
</table>
<!-- / forum rules & forum jump -->

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="الصفحة الرئيسية/Forum Home">
		<template name="FORUMHOME" templatetype="template" date="1209527681" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<!-- guest welcome message -->

<!-- / guest welcome message -->

<!-- main -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

$forumbits

$forumhome_markread_script

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- /main -->

$ad_location[ad_forumhome_afterforums]

<!-- what's going on box -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" align="center" colspan="2">$vbphrase[whats_going_on]</td>
	</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
			<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
	<tr>
		<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
		<td class="alt1" width="100%">
			<div class="smallfont">
				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
				<div>$activeusers</div>
			</div>
		</td>
	</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
			<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
		<td class="alt1" width="100%">
		<div class="smallfont">
			<div>
				$vbphrase[threads]: $totalthreads,
				$vbphrase[posts]: $totalposts,
				$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
					<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
				</if>
			</div>
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
		</div>
		</td>
	</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
			$vbphrase[todays_birthdays]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
	<tr>
		<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
	</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
	<tr>
		<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>

<tr><td class="tfoot" width="100%" align="center" colspan="9">
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a>&nbsp; &nbsp;&nbsp; &nbsp;</if>

	<if condition="!$show['guest']">
		<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
		<!-- end member logout -->
	</if>

</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="2" cellspacing="0" border="0" align="center"><tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
		<if condition="$vboptions['showlocks']">
			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</if>
</tr></table>
<!-- / icons and login code -->

$footer
</body>
</html>]]></template>
		<template name="forumhome_forumbit_level1_nopost" templatetype="template" date="1205561638" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>

<tr><td class="thead" align="center" colspan="9">

			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>

<font face="arial" size="3"><b>
			<a style="" href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></font></b>

<!--
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
-->

			<if condition="$show['subforums']"><div class="smallfont">$vbphrase[subforums]: $forum[subforums]</div></if>
</td></tr>

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">

	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead" width="50%">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions['showmoderatorcolumn']">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>

<if condition="$childforumbits">
$childforumbits
</if>

</table>]]></template>
		<template name="forumhome_forumbit_level1_post" templatetype="template" date="1205561845" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<tbody>
<tr><td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>

		<td class="alt1" id="f$forum[forumid]" width="50%">
		
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:left">

<a href="search.php?$session[sessionurl]f=$forum[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$forum[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$forum[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a></if>

</div>
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

<div>
<font face="arial" size="3"><b>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></font></b>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

</div>

			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

			<if condition="$show['forumsubscription']"><div class="smallfont"><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></div></if>

			<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$vbphrase[subforums]: $forum[subforums]</div></if>
		
		</td>
		<td class="alt2" width="50%">$forum[lastpostinfo]</td>
		<td class="alt1">$forum[threadcount]</td>
		<td class="alt2">$forum[replycount]</td>

<!-- هاك عام ـ المشرفين في قائمة منسدلة -->
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1" id="showmoderat_$forum[forumid]">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/forum_link.gif" style="cursor: hand" title="قائمة المشرفين"> <script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]", true); </script>
<div align="center" class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none; width:200px">
<div align="center" class="tcat" style="padding:3px; overflow:auto; width:200px">$vbphrase[moderator]</div>
<div align="center" class="alt1" style="border:1px inset; overflow:auto; width:200px; padding:3px;">
$forum[moderators]
</div></div></td></if>
<!-- هاك عام ـ المشرفين في قائمة منسدلة -->

	</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
	$childforumbits
</tbody>
</if>]]></template>
		<template name="forumhome_forumbit_level2_nopost" templatetype="template" date="1205561043" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<tr>
	<td class="tcat"><span class="smallfont">&nbsp;</span></td>
	<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>">
<font face="arial" size="3"><b>
		<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></font></b>
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
		<if condition="$show['subforums']"><div class="smallfont">$vbphrase[subforums]: $forum[subforums]</div></if>
	</td>
</tr>
$childforumbits
]]></template>
		<template name="forumhome_forumbit_level2_post" templatetype="template" date="1198752402" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
	<td class="alt1Active" width="50%" align="$stylevar[left]" id="f$forum[forumid]">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:left" nowrap>

<a href="search.php?$session[sessionurl]f=$forum[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$forum[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$forum[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a></if>

</div>
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

		<div>
<font face="arial" size="3"><b>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></font></b>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

		</div>

		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

		<if condition="$show['forumsubscription']"><div class="smallfont"><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></div></if>

		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$vbphrase[subforums]: $forum[subforums]</div></if>

	</td>
	<td class="alt2" width="50%">$forum[lastpostinfo]</td>
	<td class="alt1">$forum[threadcount]</td>
	<td class="alt2">$forum[replycount]</td>

<!-- هاك عام ـ المشرفين في قائمة منسدلة -->
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1" id="showmoderat_$forum[forumid]">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/forum_link.gif" style="cursor: hand" title="قائمة المشرفين"> <script type="text/javascript"> vbmenu_register("showmoderat_$forum[forumid]", true); </script>
<div align="center" class="vbmenu_popup" id="showmoderat_$forum[forumid]_menu" style="display:none; width:200px">
<div align="center" class="tcat" style="padding:3px; overflow:auto; width:200px">$vbphrase[moderator]</div>
<div align="center" class="alt1" style="border:1px inset; overflow:auto; width:200px; padding:3px;">
$forum[moderators]
</div></div></td></if>
<!-- هاك عام ـ المشرفين في قائمة منسدلة -->

</tr>
$childforumbits]]></template>
		<template name="forumhome_lastpostby" templatetype="template" date="1205565386" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
	<div>
		<span>
		<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
		<if condition="$lastpostinfo['prefix']">
			$lastpostinfo[prefix]
			</span> <span>
		</if>
		<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
		</span>
	</div>
	<div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>">
		<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
	</div>
	<div align="$stylevar[right]">
		$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
		<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
	</div>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
	$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
	<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>]]></template>
	</templategroup>
	<templategroup name="معلومات العضو/Member Info">
		<template name="MEMBERINFO" templatetype="template" date="1205562691" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js"></script>

<title>$vbphrase[view_profile]: $userinfo[username] - $vboptions[bbtitle]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
	vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
	fetch_object('visitor_messaging').scrollIntoView();
	
	var textarea = fetch_object('visitor_message_form_textarea');
	if (textarea)
	{
		textarea.focus();
		textarea.select();
	}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<div class="panel">

<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
	<div id="content">
		
		<div id="main_userinfo">
			<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<if condition="$prepared['profilepicurl']">
					<td id="profilepic_cell" class="tborder alt2">
						<img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" />
					</td>
				</if>
				<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
					<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
						<div id="reputation_rank">
							<if condition="$prepared['reputationdisplay']">
								<div id="reputation">$prepared[reputationdisplay]</div>
							</if>
							<if condition="$prepared['rank']">
								<div id="rank">$prepared[rank]</div>
							</if>
						</div>
					</if>
					<h1>$prepared[musername] $prepared[onlinestatus]</h1>
					<if condition="$prepared['usertitle']">
						<h2>$prepared[usertitle]</h2>
					</if>
				</td>
			</tr>
			</table>
			
			<!-- link bar -->
			<div class="tborder" id="link_bar">
				<ul class="thead list_no_decoration floatcontainer">			
					<if condition="$show['usercss_switch']">
						<if condition="$prepared['myprofile']">
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
						<else />
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
						</if>
					</if>
					
					<if condition="$show['contactlinks']">
						<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
					</if>
					
					<if condition="$show['userlists']">
						<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
					</if>
					
					<if condition="$show['usernotes']">
						<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
					</if>
					
					<if condition="can_moderate()">
						<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
					</if>
					
				</ul>
			</div>
			<!-- / link bar -->

			<!-- current activity -->
			<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
				<div class="tborder" id="activity_info">
					<div class="alt2 smallfont">
						<if condition="$prepared['lastactivitydate']">
							<div id="last_online">
								<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
							</div>
						</if>	
						<if condition="$prepared['action']">
							<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
						</if>
					</div>
				</div>
			</if>	
			<!-- / current activity -->
			
			<!-- user list menu -->
			<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
				<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
				<if condition="$prepared['canbefriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[add_to_friends_list]</a>
					</li>
				</if>
				<if condition="$prepared['isfriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
					</li>
				</if>
				<if condition="$show['addbuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
					</li>
				</if>
				<if condition="$show['removebuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
					</li>
				</if>
				<if condition="$show['addignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
					</li>
				</if>
				<if condition="$show['removeignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
					</li>
				</if>
			</ul>
		
			<!-- contact popup menu -->
			<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
				<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
					<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
				</if>
				<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
				<if condition="$show['pm']">
					<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
				</if>
				<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
				<if condition="$prepared['hasimdetails']">
					<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
					<if condition="$prepared['icq']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" />  <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['aim']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['msn']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['yahoo']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['skype']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
					</if>
				</if>
			</ul>
			<!-- / contact popup menu -->
	</div>
	
	<div id="profile_tabs">
		$template_hook[profile_left_first]
		$blocks[visitor_messaging]
		$blocks[aboutme]
		$blocks[stats]
		$blocks[friends]
		$blocks[infractions]
		$blocks[contactinfo]
		$template_hook[profile_left_last]
	</div>

	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
	//-->
	</script>

</div>
</div>

<div id="sidebar_container">
	<!-- sidebar -->
	$template_hook[profile_right_first]
	$blocks[stats_mini]
	$template_hook[profile_right_mini]
	$blocks[friends_mini]
	$blocks[albums]
	$template_hook[profile_right_album]
	$blocks[groups]
	$blocks[visitors]
	$template_hook[profile_right_last]
	<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$footer

</body>
</html>]]></template>
		<template name="memberinfo_block_visitormessaging" templatetype="template" date="1205526109" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$show['quickcomment'] AND $show['post_visitor_message']">
	$block_data[clientscript]

	<div class="alt1 smallfont block_row">	
		<form action="visitormessage.php?$session[sessionurl]do=message" method="post" name="vbform" id="message_form">
			<div align="center">
				<div style="max-width:$stylevar[formwidth]; width:auto !important; width:95%">

					<div style="display:none" id="qc_error_div" class="tborder">
						<div class="alt1 block_title">
							<div id="qc_error_header">$vbphrase[errors_occured_when_submitted]</div>
							<div id="qc_error_list">&nbsp;</div>
							<div id="qc_error_okay"><input type="button" class="button" value="$vbphrase[okay]" id="qc_hide_errors" /></div>
						</div>
					</div>
					
					<div id="$block_data[editorid]" class="vBulletin_editor">$block_data[messagearea]</div>

<center><font color="#8D0000">تحذير : رسائل الزوار التي تكتب هنا عامة ويقرئها الجميع وليست خاصة
</font></center>
					<if condition="$show['allowed_bbcode']"><div class="allowed_bbcode"><phrase 1="$block_data[allowed_bbcode]">$vbphrase[allowed_bbcode_message_x]</phrase></div></if>
					<div class="submit_button">
						<input type="hidden" name="fromquickcomment" value="1" />
						<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="message" />
						<input type="hidden" name="u" value="$userinfo[userid]" />
						<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
						<input type="hidden" name="parseurl" value="1" />
						<input type="hidden" name="lastcomment" value="$block_data[lastcomment]" />
						<input type="hidden" name="allow_ajax_qc" value="$show[allow_ajax_qc]" />
		
						<input type="submit" id="qr_submit" value="$vbphrase[post_message]" name="sbutton" class="button" accesskey="s" onclick="clickedelm = this.value" />
						<!--<input type="submit" id="qr_preview" value="$vbphrase[go_advanced]" name="preview" class="button" accesskey="x" onclick="clickedelm = this.value" />-->
					</div>		
				</div>
			</div>
		
			<div align="center" id="qc_posting_msg" style="display:none; margin-top:$stylevar[cellpadding]px">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_comment] - $vbphrase[please_wait]" />
				<strong>$vbphrase[posting_message_please_wait]</strong>
			</div>
		</form>
	</div>
</if>

<if condition="$block_data['messagebits']">
	<div class="thead block_row" id="visitor_message_counters">
		<if condition="$show['inlinemod']"><a id="inlinemodsel">&nbsp;</a></if>
		<phrase 1="$block_data[messagestart]" 2="$block_data[messageend]" 3="$prepared[pm_total]">$vbphrase[showing_vms_x_to_y_of_z]</phrase>
	</div>
	<!-- inline moderation form -->
<if condition="$show['inlinemod']">
	<form action="member_inlinemod.php?u=$userinfo[userid]" method="post" id="visitor_message_inlinemod_form">
</if>
	<ol class="alt1 block_row list_no_decoration" id="message_list">
		$block_data[messagebits]
	</ol>

	<if condition="$show['inlinemod'] OR $block_data['pagenav']">
		<div class="alt2 block_row" id="visitor_message_tab_footer">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr valign="bottom">
				<if condition="$show['inlinemod']">
				<td class="smallfont" id="inlinemod_comment_controls">
					<div><label for="moderation_select_comments">$vbphrase[moderation]</label></div>
					<select id="moderation_select_comments" name="do">
						<if condition="$show['delete'] OR $show['undelete'] OR $show['approve']">
						<optgroup label="$vbphrase[option]" id="moderation_select_comments_optgroup">
							<if condition="$show['delete']">
								<option value="inlinedelete" id="inlinemod_comment_controls_delete">$vbphrase[delete_messages]</option>
							</if>
							<if condition="$show['undelete']">
								<option value="inlineundelete" id="inlinemod_comment_controls_undelete">$vbphrase[undelete_messages]</option>
							</if>
							<if condition="$show['approve']">
								<option value="inlineapprove" id="inlinemod_comment_controls_approve">$vbphrase[approve_messages]</option>
								<option value="inlineunapprove" id="inlinemod_comment_controls_unapprove">$vbphrase[unapprove_messages]</option>
							</if>
						</optgroup>
						</if>
						<optgroup label="____________________">
							<option value="clearmessage">$vbphrase[deselect_all_messages]</option>
						</optgroup>
					</select>
					<input type="submit" value="$vbphrase[go]" id="vmessage_inlinego" class="button" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="u" value="$userinfo[userid]" />
				</td>
				</if>
				<if condition="$block_data['pagenav']">
				<td class="smallfont" align="$stylevar[right]">
					$block_data[pagenav]
				</td>
				</if>
			</tr>
			</table>
		</div>
	</if>
</if>

<if condition="$show['quickcomment']">
	<script type="text/javascript" src="clientscript/vbulletin_quick_comment.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	var quick_comment = new vB_QuickComment("message_form", $vboptions[postminchars]);
	//-->
	</script>
</if>

<if condition="$block_data['messagebits']">
	<if condition="$show['inlinemod']">
		<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">
		<!--
		inlineMod_comment = new vB_Inline_Mod('inlineMod_comment', 'vmessage', 'visitor_message_inlinemod_form', '$vbphrase[go_x]', 'vbulletin_inline', 'visitor_message');
		//-->
		</script>
	</if>
	<if condition="$show['inlinemod']">
		<script type="text/javascript">
		<!--
		vBmenu.register("inlinemodsel");
		//-->
		</script>
	
		</form>
		<!-- / inline moderation form -->
	
		<!-- inline mod selection popup -->
		<ul id="inlinemodsel_menu" class="vbmenu_popup list_no_decoration" style="display:none">
			<li class="thead first">$vbphrase[from_this_page]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(true)">$vbphrase[select_all]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(false)">$vbphrase[deselect_all]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all('invert')">$vbphrase[invert_selection]</li>
			<if condition="$show['approve'] OR $show['undelete']"><li class="thead notext"><img src="$vboptions[cleargifurl]" alt="" width="1" height="1" /></li></if>
			<if condition="$show['approve']"><li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 1)">$vbphrase[select_unapproved_posts]</li></if>
			<if condition="$show['undelete']"><li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 2)">$vbphrase[select_deleted_posts]</li></if>
		</ul>
		<!-- / inline mod selection popup -->
	</if>
<else />
	<div class="alt2 block_row"><phrase 1="$prepared[username]">$vbphrase[x_has_no_visitor_messages]</phrase></div>
</if>]]></template>
		<template name="memberinfo_visitormessage" templatetype="template" date="1202948360" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<li id="vmessage$message[vmid]" class="floatcontainer">
<if condition="$message['avatarurl']">
	<div class="fixed_width_avatar">
        <if condition="$message['postuserid']"><a href="member.php?$session[sessionurl]u=$message[postuserid]"></if><img src="$message[avatarurl]" class="alt2 avatar"<if condition="$message['avatarwidth']"> width="$message[avatarwidth]"</if><if condition="$message['avatarheight']"> height="$message[avatarheight]"</if> border="0" alt="$message[username]" /><if condition="$message['postuserid']"></a></if>
    </div>
	<div class="visitor_message_avatar_margin">
</if>
		<div class="tborder info_bar">
			<div class="alt2 smallfont">
				<if condition="$show['inlinemod']"><input type="checkbox" class="inlinemod_checkbox" name="vmessagelist[$message[vmid]]" id="vmessagelist_$message[vmid]" value="$message[checkbox_value]" title="$vbphrase[select_this_item_for_inline_moderation]"  /></if>
				<div class="visitor_message_date">$message[date]<if condition="!$show['detailedtime']"> <span class="time">$message[time]</span></if></div>
				<if condition="$message['postuserid']">
                    <a href="member.php?$session[sessionurl]u=$message[postuserid]" class="smallfont username">$message[musername]</a>
                <else />
                    <span class="smallfont username">$message[musername]</span>
                </if>
                <if condition="$show['profile']">
                    <br /><phrase 1="member.php?$session[sessionurl]u=$message[profileuserid]&amp;vmid=$message[vmid]#vmessage$message[vmid]" 2="$message[profileusername]">$vbphrase[profile_x]</phrase>
                </if>
			</div>
		</div>

		<if condition="$show['moderation']"><div class="shade">$vbphrase[this_message_is_moderated]</div></if>
		<div class="visitor_message_body">$message[message]</div>

<!-- هاك عام ـ الرد على الرسائل الشخصية -->
<br /><br /><br /><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">إضافة رد</a>
<!-- هاك عام ـ الرد على الرسائل الشخصية -->
			
	<if condition="$show['edit'] OR $show['reportlink'] OR $message['messageipaddress']">
		<ul class="list_no_decoration controls">
			<if condition="$show['edit']">
				<li class="smallfont"><a href="visitormessage.php?$session[sessionurl]u=$userinfo[userid]&amp;do=message&amp;vmid=$message[vmid]">$vbphrase[edit]</a></li>

			</if>
			<if condition="$show['reportlink']">
				<li class="smallfont"><a href="visitormessage.php?$session[sessionurl]do=report&amp;vmid=$message[vmid]">$vbphrase[report]</a></li>
			</if>
			<if condition="$message['messageipaddress']">
				<li class="smallfont"><a href="visitormessage.php?do=viewip&amp;vmid=$message[vmid]">$vbphrase[ip]</a></li>
			</if>
		</ul>
	</if>
<if condition="$message['avatarurl']">
	</div>
</if>
</li>]]></template>
	</templategroup>
	<templategroup name="قائمة الأعضاء">
		<template name="memberlist" templatetype="template" date="1203004054" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<title>$vbphrase[members_list] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
	$letterbits
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['popups'] AND !$show['usergroup']">
<!-- memberlist quick search form -->
<div class="vbmenu_popup" id="memberlist_search_menu" style="display:none">
<form action="memberlist.php?do=getall" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_members]</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="getall" />
			<input type="text" class="bginput" name="ausername" size="20" value="$ltr" title="$vbphrase[username]" />$gobutton
		</td>
	</tr>
	<if condition="$show['advancedlink']">
	<tr>
		<td class="vbmenu_option"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / memberlist quick search form -->
</if>

<br />

$spacer_close
$spacer_open

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<form action="profile.php?do=deleteusergroups&amp;usergroupid=$usergroupid" method="post">
<input type="hidden" name="do" value="deleteusergroups" />
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="usergroupid" value="$usergroupid" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">
		<span class="smallfont" style="float:$stylevar[right]">
			<phrase 1="$first" 2="$last" 3="$totalusers">$vbphrase[showing_results_x_to_y_of_z]</phrase>
			<br />
			<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
		</span>
		<if condition="$show['usergroup']">
		$vbphrase[members_of_usergroup]<span class="normal">: $leadergroup[title]</span>
		<else />
		$vboptions[bbtitle]: $vbphrase[members_list]
		</if>
	</td>
	<if condition="!$show['usergroup']">
	<td class="vbmenu_control" id="memberlist_search"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[search_members]</a> <script type="text/javascript"> vbmenu_register("memberlist_search"); </script></td>
	</if>
	
</tr>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
	<td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=username&amp;pp=$perpage$usergrouplink">$vbphrase[username]</a> $sortarrow[username]</td>
	<if condition="$show['emailcol']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>
	<if condition="$show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[instant_messaging]</td></if>
	<if condition="$show['homepagecol']"><td class="thead" nowrap="nowrap">$vbphrase[home_page]</td></if>
	<if condition="$show['searchcol']"><td class="thead" nowrap="nowrap">$vbphrase[find_posts]</td></if>
	<if condition="$show['datejoinedcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=joindate&amp;pp=$perpage$usergrouplink">$vbphrase[join_date]</a> $sortarrow[joindate]</td></if>
	<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
	<if condition="$show['lastvisitcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=lastvisit&amp;pp=$perpage$usergrouplink">$vbphrase[last_visit]</a> $sortarrow[lastvisit]</td></if>
	<if condition="$show['reputationcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=reputation&amp;pp=$perpage$usergrouplink">$vbphrase[reputation]</a> $sortarrow[reputation]</td></if>
	<if condition="$show['avatarcol']"><td class="thead" nowrap="nowrap">$vbphrase[avatar]</td></if>
	<if condition="$show['profilepiccol']"><td class="thead" nowrap="nowrap">$vbphrase[profile_picture]</td></if>
	<if condition="$show['birthdaycol']"><td class="thead" nowrap="nowrap">$vbphrase[birthday]</td></if>
	<if condition="$show['agecol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=age&amp;pp=$perpage$usergrouplink">$vbphrase[age]</a> $sortarrow[age]</td></if>
	<if condition="$show['customfields']">$customfieldsheader</if>
	<if condition="$show['usergroup']"><td class="thead"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onClick="checkall(this.form);"  /></td></if>
</tr>
$memberlistbits
<tr>
	<td class="tfoot" colspan="$totalcols" align="$stylevar[right]">
		<span class="smallfont">
		<if condition="$show['usergroup']">
			<input type="submit" class="button" value="$vbphrase[remove_selected_users]" />
		<else />
			<phrase 1="$first" 2="$last" 3="$totalusers">$vbphrase[showing_results_x_to_y_of_z]</phrase>
		</if>
		</span>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

$spacer_close
$spacer_open

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td>$forumjump</td>
</tr>
</table>

$footer

</body>
</html>]]></template>
		<template name="memberlist_search" templatetype="template" date="1198370421" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<title>$vbphrase[members_list] - $vbphrase[advanced_search] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<form action="memberlist.php?do=getall" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="getall" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[members_list] - $vbphrase[advanced_search]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<div style="margin-bottom:$stylevar[formspacer]px">
				$vbphrase[fields_on_form_optional]
			</div>
			
			<div class="fieldset">
				$vbphrase[username]
				<div id="userfield"><input type="text" class="bginput" id="userfield_txt" size="50" name="ausername" value="" /></div>
				<if condition="$show['popups']">
					<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
					<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
					<script type="text/javascript">
					<!--
					vbmenu_register('userfield', true);
					snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
					//-->
					</script>
				</if>
			</div>
			
			<div class="fieldset">
				$vbphrase[home_page]<br />
				<input type="text" class="bginput" size="50" name="homepage" value="" />
			</div>
		
			$customfields
			
			<fieldset class="fieldset">
				<legend>$vbphrase[instant_messaging]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[icq_number]<br />
						<img src="$stylevar[imgdir_misc]/im_icq.gif" alt="" />
						<input type="text" class="bginput" size="25" name="icq" value="" dir="ltr" />
					</td>
					<td>
						$vbphrase[aim_screen_name]<br />
						<img src="$stylevar[imgdir_misc]/im_aim.gif" alt="" />
						<input type="text" class="bginput" size="25" name="aim" value="" dir="ltr" />
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[msn_messenger_handle]<br />
						<img src="$stylevar[imgdir_misc]/im_msn.gif" alt="" />
						<input type="text" class="bginput" size="25" name="msn" value="" dir="ltr" />
					</td>
					<td>
						$vbphrase[yahoo_messenger_handle]<br />
						<img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" />
						<input type="text" class="bginput" size="25" name="yahoo" value="" dir="ltr" />
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[skype_name]<br />
						<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
						<input type="text" class="bginput" size="25" name="skype" value="" dir="ltr" />
					</td>
					<td>&nbsp;</td>
				</tr>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[post_count]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[is_greater_than_or_equal_to]<br />
						<input type="text" class="bginput" size="25" name="postslower" value="" />
					</td>
					<td>
						$vbphrase[is_less_than]<br />
						<input type="text" class="bginput" size="25" name="postsupper" value="" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[join_date]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[is_after]<br />
						<input type="text" class="bginput" size="25" name="joindateafter" value="" />
					</td>
					<td>
						$vbphrase[is_before]<br />
						<input type="text" class="bginput" size="25" name="joindatebefore" value="" />
					</td>
				</tr>
				<tr>
					<td colspan="2">$vbphrase[please_use_format]</td>
				</tr>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[last_post]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[is_after]<br />
						<input type="text" class="bginput" size="25" name="lastpostafter" value="" />
					</td>
					<td>
						$vbphrase[is_before]<br />
						<input type="text" class="bginput" size="25" name="lastpostbefore" value="" />
					</td>
				</tr>
				<tr>
					<td colspan="2">$vbphrase[please_use_format_yyyymmdd_hhmmss]</td>
				</tr>
				</table>
			</fieldset>
			
		</div>
	</div>
	
	<div class="thead" style="padding:$stylevar[cellpadding]px">$vbphrase[options]</div>
	
	<div class="panel" align="center">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
			
			<fieldset class="fieldset">
				<legend>$vbphrase[options]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[order_results_by]<br />
						<select name="sort">
							<option value="username" selected="selected">$vbphrase[username]</option>
							<option value="joindate">$vbphrase[join_date]</option>
							<option value="posts">$vbphrase[post_count]</option>
							<option value="lastvisit">$vbphrase[last_visit]</option>
							<if condition="$vboptions['reputationenable']">
							<option value="reputation">$vbphrase[reputation]</option>
							</if>
						</select>
						<select name="order">
							<option value="">$vbphrase[in_ascending_order]</option>
							<option value="DESC">$vbphrase[in_descending_order]</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[number_of_users_perpage]<br />
						<input type="text" class="bginput" size="25" name="pp" value="$vboptions[memberlistperpage]" />
					</td>
				</tr>
				</table>
			</fieldset>
			
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[search_now]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" />
	</div>
	</td>
</tr>
</table>

</form>

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td>$forumjump</td>
</tr>
</table>

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="الرقابة">
		<template name="moderation_threads" templatetype="template" date="1205569027" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<if condition="$colspan++"></if>
<!-- topic table -->
<form action="inlinemod.php" method="post" id="inlinemodform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="url" value="$url" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tr>
	<td class="tcat" colspan="$colspan">
		<if condition="$show['deleted']">$vbphrase[deleted_threads]<else />$vbphrase[moderated_threads]</if>
	</td>
</tr>

<if condition="$show['havethreads']">
<tr>
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>
	<td class="thead" width="100%">
		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
		<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] </td>
<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>

	<if condition="$show['popups']">
		<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
	<else />
		<td class="thead" align="center">
			<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
		</td>
	</if>
</tr>
$threadbits
<else />
	<!-- show no threads message -->
	<tr>
		<td class="alt1" colspan="$colspan" align="center">
			<div style="padding: 16px">
				<strong>$vbphrase[no_posts_found]</strong><br />
				<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span>
			</div>
		</td>
	</tr>
	<!-- end show no threads message -->
</if>
</table>

<if condition="$show['havethreads']">
	<if condition="$show['ajax_js']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	var titlemaxchars = parseInt("$vboptions[titlemaxchars]");
	//-->
	</script>
	</if>


	<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
	<tr valign="top">
		<td align="$stylevar[right]">$pagenav
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; align:right; float:$stylevar[right]">
				<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
				<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['delete']">
					<option value="deletethread">$vbphrase[delete_threads]</option>
					<option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
					</if>
					<if condition="$show['undelete']">
					<option value="undeletethread">$vbphrase[undelete_threads]</option>
					</if>
					<option value="open">$vbphrase[open_threads]</option>
					<option value="close">$vbphrase[close_threads]</option>
					<option value="approvethread">$vbphrase[approve_threads]</option>
					<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
					<option value="stick">$vbphrase[stick_threads]</option>
					<option value="unstick">$vbphrase[unstick_threads]</option>
					<option value="movethread">$vbphrase[move_threads]</option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
				</optgroup>
				<optgroup label="____________________">
					<option value="viewthread">$vbphrase[view_selected_threads]</option>
					<option value="clearthread">$vbphrase[clear_thread_list]</option>
				</optgroup>
				</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
				<script type="text/javascript">
				<!--
				inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
				//-->
				</script>
			</div>
		</td>
	</tr></table>
</if>

</form>
<!-- / topic table -->

<br />

<form action="moderation.php?do=viewthreads&amp;type=$type" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="type" value="$type" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[display_options]</td>
</tr>
<if condition="$totalthreads">
<tr>
	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
</tr>
</if>
<tr valign="top">
	<td class="alt1">

		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr valign="bottom">
			<td class="smallfont">
				<label for="select_sort">$vbphrase[sorted_by]</label>
				<select name="sort" id="select_sort" style="display:block">
					<option value="title" $sort[title]>$vbphrase[thread_title]</option>
					<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
					<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
					<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
					<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
					<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
				</select>
			</td>
			<td class="smallfont">
				<label for="select_order">$vbphrase[sort_order]</label>
				<select name="order" id="select_order" style="display:block">
					<option value="asc" $order[asc]>$vbphrase[ascending]</option>
					<option value="desc" $order[desc]>$vbphrase[descending]</option>
				</select>
			</td>
			<td class="smallfont">
				<label for="select_daysprune"><if condition="$show['deleted']">$vbphrase[deleted_within]<else />$vbphrase[moderated_within]</if></label>
				<select name="daysprune" id="select_daysprune" style="display:block">
					<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
					<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
					<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
					<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
					<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
					<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
					<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
					<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
					<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
					<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
					<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
					<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
				</select>
			</td>
			<td class="smallfont">&nbsp;</td>
		</tr>
		<tr valign="bottom">
			<td class="smallfont" colspan="3">
				<label for="select_f">$vbphrase[forum]</label>
				<select name="f" id="select_f" style="display:block">
					<option value="0">$vbphrase[all_forums]</option>
					$forumjumpbits
				</select>
			</td>
			<td align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</form>

<br />

<!-- icon key and forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td width="100%">
		<!-- icon key -->
		<table cellpadding="2" cellspacing="0" border="0">
		<tr align="$stylevar[left]">
			<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
			<td class="smallfont">$vbphrase[new_posts]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
			<td class="smallfont">$vbphrase[no_new_posts]</td>
		</tr>
		<if condition="$vboptions['usehotthreads']">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="$vbphrase[hot_thread_with_new_posts]" border="0" /></td>
			<td class="smallfont"><phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase></td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="$vbphrase[hot_thread_with_no_new_posts]" border="0" /></td>
			<td class="smallfont"><phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase></td>
		</tr>
		</if>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
			<td class="smallfont">$vbphrase[thread_is_closed]</td>
		</tr>
		<if condition="$show['dotthreads']">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
			<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
		</tr>
		</if>
		</table>
		<!-- / icon key -->
	</td>

	<td>$forumjump</td>
</tr>
</table>
<!-- / icon key and forum jump -->

<if condition="$show['popups'] AND $show['havethreads']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu
	</div>
</if>]]></template>
	</templategroup>
	<templategroup name="تعديل خيارات العضو">
		<template name="modifyattachments" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="profile.php?do=deleteattachments&amp;userid=$userid" method="post">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="tcat" colspan="4">
		<if condition="$show['attachquota']">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('attachinfo')"><img id="collapseimg_attachinfo" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_attachinfo].gif" alt="$vbphrase[attachment_statistics]" border="0" /></a>
		</if>
		<phrase 1="$username">$vbphrase[attachments_posted_by_x]</phrase>
	</td>
</tr>
</thead>
<if condition="$show['attachquota']">
<tbody id="collapseobj_attachinfo" style="$vbcollapse[collapseobj_attachinfo]">
	<tr>
		<td class="panelsurround" align="center" colspan="4">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				<fieldset class="fieldset">
					<legend>$vbphrase[attachment_statistics]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$attachsum" 2="$totalattachments">$vbphrase[currently_using_x_to_store_y_attachments]</phrase></td>
					</tr>
					<if condition="$show['attachlimit']">
					<tr>
						<td>
							<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
							<tr>
								<if condition="$show['currentattachsize']"><td width="$attachsize" style="background-color:red; font-size:10px" title="<phrase 1="$attachsum">$vbphrase[current_attachment_total_x]</phrase>">&nbsp;</td></if>
								<if condition="$show['totalattachsize']"><td width="$totalsize" style="background-color:green; font-size:10px" title="<phrase 1="$attachlimit">$vbphrase[maximum_attachment_storage_x]</phrase>">&nbsp;</td></if>
							</tr>
							</table>
						</td>
					</tr>
					</if>
					</table>
				</fieldset>
			</div>
		</div>
		</td>
	</tr>
</tbody>
</if>
<if condition="$show['attachment_list']">
<tbody>
<tr align="center">
	<td class="thead">$vbphrase[attachment]</td>
	<td class="thead">$vbphrase[title]</td>
	<if condition="$show['deleteoption']">
		<td class="thead">$vbphrase[date]</td>
		<td class="thead" style="padding:0px"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onclick="checkall(this.form);"  /></td>
	<else />
		<td class="thead" colspan="2">$vbphrase[date]</td>
	</if>

</tr>
<if condition="$show['thumbnails']"><col align="center"></col></if>

$template[attachmentlistbits]

<tr>
	<td class="tfoot" colspan="4" align="$stylevar[right]">
		<span class="smallfont" style="float:$stylevar[left]">
			<if condition="$show['thumbnails']">
				<a href="profile.php?$session[sessionurl]do=editattachments&amp;pp=$perpage&amp;page=$pagenumber<if condition="$show['otheruserid']">&amp;u=$userid</if>"><strong>$vbphrase[hide_thumbnails]</strong></a>
			<else />
				<a href="profile.php?$session[sessionurl]do=editattachments&amp;pp=$perpage&amp;page=$pagenumber&amp;showthumbs=1<if condition="$show['otheruserid']">&amp;u=$userid</if>"><strong>$vbphrase[show_thumbnails]</strong></a>
			</if>
		</span>
		<if condition="$show['deleteoption']">
			<input type="hidden" name="perpage" value="$perpage" />
			<input type="hidden" name="pagenumber" value="$pagenumber" />
			<input type="hidden" name="showthumbs" value="$showthumbs" />
			<input type="hidden" name="do" value="deleteattachments" />
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="userid" value="$userid" />
			<input type="submit" class="button" value="$vbphrase[delete_selected]" />
		</if>
	</td>
</tr>
</tbody>
<else />
<tbody>
<tr>
	<td class="alt1" colspan="4" align="center">
		<p>$vbphrase[you_have_no_attachments]</p>
	</td>
</tr>
</tbody>
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<if condition="$show['lightbox']">
<!-- lightbox scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_Lightbox_Container", "attachmentlist", $vboptions[lightboxenabled]);
	//-->
	</script>
<!-- / lightbox scripts -->
</if>

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>]]></template>
		<template name="modifyavatar" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<script type="text/javascript">
<!--
function check_yes(objid)
{
	yes = fetch_object(objid);
	if (yes)
	{
		yes.checked = true;
	}
}

<if condition="$show['categories']">
function switch_avatar_category()
{
	selobj = fetch_object("avatar_category_select");
	window.location = "profile.php?$session[sessionurl_js]do=editavatar&categoryid=" + selobj.options[selobj.selectedIndex].value;
}
</if>
//-->
</script>

<form enctype="multipart/form-data" action="profile.php?do=updateavatar" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateavatar" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_avatar]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[your_current_avatar]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					$currentavatar
					<td class="smallfont">
						<div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[avatars_small_graphics_short]</div>
						<div style="margin-bottom:$stylevar[formspacer]px"><label for="rb_avatarid_no"><input type="radio" name="avatarid" value="-1" id="rb_avatarid_no" $nouseavatarchecked />$vbphrase[do_not_use_an_avatar]</label></div>
						<div>$vbphrase[note_have_custom_avatar_delete]</div>
					</td>
				</tr>
				</table>
			</fieldset>
			
			<if condition="$show['forumavatars']">
			<fieldset class="fieldset">
				<legend><phrase 1="$categoryname">$vbphrase[predefined_x]</phrase></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td colspan="$cols">
						<if condition="$show['categories']">
						$vbphrase[avatar_category]:<br />
						<select name="categoryid" id="avatar_category_select" onchange="switch_avatar_category()">$categorybits</select>
						<input type="button" value="$vbphrase[go]" class="button" onclick="switch_avatar_category()" />
						</if>
					</td>
				</tr>
				<tr>
					<td colspan="$cols">$vbphrase[may_select_predefined_as_avatar]</td>
				</tr>
				$avatarlist
				<if condition="$show['pagenav']">
				<tr valign="bottom">
					<td colspan="$cols">
						$pagenav
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			</if>
			
			<if condition="$show['customavatar']">
			<fieldset class="fieldset">
				<legend>$vbphrase[custom_avatar]</legend>
				
				<div style="padding:$stylevar[formspacer]px">
				<div class="fieldset">
				
				$vbphrase[have_custom_avatar_want_as_is]<br /><br />
				
				<label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes" $avatarchecked[0] />$vbphrase[use_custom_avatar]</label><br /><br />
				
				$vbphrase[may_upload_custom_image_controls]<br /><br />
		
				<if condition="$show['customavatar_url']">
				$vbphrase[enter_url_to_image]
					
				<div style="padding:$stylevar[formspacer]px">
					<input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="45" dir="ltr" />
					<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
				</div>
				</if>
				
				<if condition="$show['customavatar_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if>
				<div style="padding:$stylevar[formspacer]px">
					<input type="file" class="bginput" name="upload" onchange="check_yes('avatar_yes')" size="45" />
				</div>

				<if condition="$show['maxnote']">
					$maxnote
				</if>
				
				</div>
				</div>
			</fieldset>
			</if>
			
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="modifybuddylist" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><span style="float:$stylevar[right]" class="smallfont">$vbphrase[total]: <span id="buddycount">$buddycount</span></span>$vbphrase[contacts_and_friends]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

			<fieldset class="fieldset">
				<legend>$vbphrase[contacts_and_friends]</legend>

				<form action="profile.php?do=updatelist&amp;userlist=buddy" method="post" id="buddylist_change_form" class="floatcontainer"  <if condition="!$show['buddylist']">style="display: none"</if>>
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="buddy" />
					<div class="checkbox_ctrls floatcontainer">					
						<label class="show_avatars_ctrl shade"><input type="checkbox" id="buddylist_showavatars" checked="checked" />$vbphrase[show_avatars]</label>
						<!--<label class="check_all_ctrl shade"><input type="checkbox" id="buddylist_checkall" checked="checked" />$vbphrase[check_uncheck_all]</label>-->
					</div>
					<ul class="userlist userlist_showavatars floatcontainer" id="buddylist">
						$buddylist
					</ul>
					<div class="submitrow smallfont">
						<img src="$stylevar[imgdir_misc]/progress.gif" id="buddylist_change_progress" class="inlineimg" style="display:none" alt="" />
						<input type="submit" class="button" id="submit_save" value="$vbphrase[save_changes]" />
					</div>
					<hr />
				</form>
				<form action="profile.php?do=updatelist&amp;userlist=buddy" method="post" id="buddylist_add_form" class="floatcontainer">
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="buddy" />
					<div id="buddylist_error" class="userlist_error floatcontainer"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" id="buddylist_error_image" class="userlist_error_image" alt="" /> <span id="buddylist_error_message"></span></div>
					<div class="userlist_form_controls">
						<label for="buddylist_add_txt">$vbphrase[add_member_to_your_list]</label>
						<div>
							<span id="buddylist_add"><input type="text" class="bginput" name="username" id="buddylist_add_txt" size="35" value="$buddy_username" /></span>
							<div id="buddylist_add_menu" class="vbmenu_popup" style="display:none"></div>
							<input type="submit" class="button" id="buddylist_submit" value="$vbphrase[add_contact]" />
							<if condition="$show['friend_controls']"><input type="submit" class="button" name="makefriends" id="friend_submit" value="$vbphrase[add_friend]" /></if>
							<img src="$stylevar[imgdir_misc]/progress.gif" id="buddylist_add_progress" class="inlineimg" style="display:none" alt="" />
						</div>
					</div>
					<hr />
				</form>
				<div class="fieldsetpad">
					<div class="userlist_form_controls">$vbphrase[contacts_instructions]</div>
				</div>
			</fieldset>

			<fieldset class="fieldset" id="incomingreqs_container" <if condition="!$show['incominglist']">style="display: none"</if>>
				<legend>$vbphrase[incoming_friend_requests]</legend>
				<form action="profile.php?do=updatelist&amp;userlist=approval" method="post" id="incomingreqs_change_form" class="floatcontainer">
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="incoming" />
					<div class="checkbox_ctrls floatcontainer">		
						<label class="check_all_ctrl shade"><input type="checkbox" id="incomingreqs_checkall" />$vbphrase[check_uncheck_all]</label>			
						<label class="show_avatars_ctrl shade"><input type="checkbox" id="incomingreqs_showavatars" checked="checked" />$vbphrase[show_avatars]</label>
					</div>
					<div class="userlist_title">$vbphrase[incoming_friend_requests]</div>
					<div class="userlist_description">$vbphrase[incoming_friend_requests_description]</div>
					<ul class="userlist userlist_showavatars floatcontainer" id="incomingreqs">
						$incominglist
					</ul>
					<div class="submitrow smallfont">
						<div id="incomingreqs_action">
							<div><label for="incomingaction_accept"><input type="radio" name="incomingaction" value="accept" id="incomingaction_accept" checked="checked" />$vbphrase[accept_selected_friend_requests]</label></div>
							<div><label for="incomingaction_reject"><input type="radio" name="incomingaction" value="reject" id="incomingaction_reject" />$vbphrase[reject_selected_friend_requests]</label></div>
						</div>
						<img src="$stylevar[imgdir_misc]/progress.gif" id="incomingreqs_change_progress" class="inlineimg" style="display:none" alt="" />
						<input type="submit" class="button" id="incoming_submit" value="$vbphrase[save_changes]" />
					</div>
				</form>
			</fieldset>

		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['popups']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js"></script>
</if>
<script type="text/javascript" src="clientscript/vbulletin_ajax_userlist.js"></script>
<script type="text/javascript">
<!--
<if condition="$show['popups']">
vBmenu.register("buddylist_add", true);
snc_buddylist = new vB_AJAX_NameSuggest("snc_buddylist", "buddylist_add_txt", "buddylist_add");
</if>
// ajax saver
vBulletin.register_control("vB_UserList_Saver", "buddylist");
vBulletin.register_control("vB_UserList_Saver", "incomingreqs");
// img-label handler
vBulletin.register_control("vB_UserList_Highlighter", "buddylist");
vBulletin.register_control("vB_UserList_Highlighter", "incomingreqs");
//-->
</script>]]></template>
		<template name="modifyignorelist" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[ignore_list]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[ignore_list]</legend>
				<form action="profile.php?do=updatelist&amp;userlist=ignore" method="post" id="ignorelist_change_form" <if condition="!$show['ignorelist']">style="display: none"</if>>
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="ignore" />
					<ul class="userlist floatcontainer" id="ignorelist">
						$ignorelist
					</ul>
					<div class="submitrow smallfont">
						<label class="check_all_ctrl shade"><input type="checkbox" id="ignorelist_checkall" checked="checked" />$vbphrase[check_uncheck_all]</label>
						<img src="$stylevar[imgdir_misc]/progress.gif" id="ignorelist_change_progress" class="inlineimg" style="display:none" alt="" />
						<input type="submit" class="button" id="submit_save" value="$vbphrase[save_changes]" />
					</div>
					<hr />
				</form>
				<form action="profile.php?do=updatelist&amp;userlist=ignore" method="post" id="ignorelist_add_form">
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="do" value="updatelist" />
					<input type="hidden" name="userlist" value="ignore" />
					<div id="ignorelist_error" class="userlist_error floatcontainer"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" id="ignorelist_error_image" class="userlist_error_image" alt="" /> <span id="ignorelist_error_message"></span></div>
					<div class="userlist_form_controls">
						<label for="ignorelist_add_txt">$vbphrase[add_member_to_your_list]</label>
						<div>							
							<span id="ignorelist_add"><input type="text" class="bginput" name="username" id="ignorelist_add_txt" size="40" value="$ignore_username" /></span>
							<div id="ignorelist_add_menu" class="vbmenu_popup" style="display:none"></div>
							<input type="submit" class="button" value="$vbphrase[okay]" />
						</div>
					</div>
					<hr />
				</form>
				<div class="fieldsetpad">
					<div class="userlist_form_controls">$vbphrase[ignorelist_instructions]</div>
				</div>
			</fieldset>
			
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['popups']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js"></script>
</if>
<script type="text/javascript" src="clientscript/vbulletin_ajax_userlist.js"></script>
<script type="text/javascript">
<!--
<if condition="$show['popups']">
vBmenu.register("ignorelist_add", true);
snc_ignorelist = new vB_AJAX_NameSuggest("snc_ignorelist", "ignorelist_add_txt", "ignorelist_add");
</if>
// ajax saver
vBulletin.register_control("vB_UserList_Saver", "ignorelist");
// img-label handler
vBulletin.register_control("vB_UserList_Highlighter", "ignorelist");
//-->
</script>]]></template>
		<template name="modifyoptions" templatetype="template" date="1209356521" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[<script type="text/javascript">
<!--
function toggle_disabled(status, objid)
{
	obj = fetch_object(objid);
	if (obj)
	{
		obj.disabled = (status ? false : true);
	}
}
//-->
</script>

<form action="profile.php?do=updateoptions" method="post">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateoptions" />

$template_hook[usercp_options_start]

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="tcat">$vbphrase[edit_options]<span class="normal">: $bbuserinfo[username]</span></td>
</tr>
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_login')"><img id="collapseimg_uopt_login" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_login].gif" alt="" border="0" /></a>
		$vbphrase[login_privacy]
	</td>
</tr>
</thead>
<tbody id="collapseobj_uopt_login" style="$vbcollapse[collapseobj_uopt_login]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				
				<if condition="$show['invisibleoption']">				
				<fieldset class="fieldset">
					<legend><label for="cb_invisible">$vbphrase[use_invisible_mode]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[invisible_mode_allows]</td>
					</tr>
					<tr>
						<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
					</tr>
					</table>
				</fieldset>
				</if>
				
				<if condition="$show['reputationoption']">
				<fieldset class="fieldset">
					<legend><label for="cb_showreputation">$vbphrase[show_your_reputation_level]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							<phrase 1="$bbuserinfo[reputation]">$vbphrase[current_reputation_level_is_displayed]</phrase>
						</td>
					</tr>
					<tr>
						<td><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_your_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></td>
					</tr>
					</table>
				</fieldset>
				</if>
				
				<fieldset class="fieldset">
					<legend><label for="cb_showvcard">$vbphrase[allow_vcard_download]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							$vbphrase[may_allow_users_tdownload_vcard]
						</td>
					</tr>
					<tr>
						<td><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></td>
					</tr>
					</table>
				</fieldset>
				
				$template_hook[usercp_options_privacy]
				
				$customfields[login]
				
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_msg')"><img id="collapseimg_uopt_msg" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_msg].gif" alt="" border="0" /></a>
		$vbphrase[messaging_notification]
	</td>
</tr>
</thead>
<tbody id="collapseobj_uopt_msg" style="$vbcollapse[collapseobj_uopt_msg]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				
				<fieldset class="fieldset">
					<legend>$vbphrase[receive_email]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							$vbphrase[administrators_may_send_email]
						</td>
					</tr>
					<tr>
						<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></td>
					</tr>

					<if condition="$show['receiveemail']">
					<tr>
						<td><br />$vbphrase[allow_members_send_you_email]</td>
					</tr>
					<tr>
						<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></td>
					</tr>
					</if>
					<if condition="$show[friend_email_request]">
					<tr>
						<td><br />$vbphrase[receive_email_for_friendship_request]</td>
					</tr>
					<tr>
						<td><label for="cb_receivefriendemailrequest"><input type="checkbox" name="options[receivefriendemailrequest]" value="1" id="cb_receivefriendemailrequest" $checked[receivefriendemailrequest] />$vbphrase[receive_friendship_req_email]</label><input type="hidden" name="set_options[receivefriendemailrequest]" value="1" /></td>
					</tr>
					</if>					
					</table>
				</fieldset>
				<if condition="!$vboptions['enableemail']">
				<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
				</if>
				
				<fieldset class="fieldset">
					<legend><label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[can_automatically_subscribe]</phrase></td>
					</tr>
					<tr>
						<td>
							<span style="float:$stylevar[right]">
							<select name="autosubscribe" id="sel_autosubscribe">
								<option value="-1" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
								<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
								<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
								<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
								<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
							</select>
							</span>
							<label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]:</label>
						</td>
					</tr>
					</table>
				</fieldset>
				
				<if condition="$show['pmoptions']">
				<fieldset class="fieldset">
					<legend><label for="cb_receivepm">$vbphrase[private_messaging]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>
							<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
						</td>
					</tr>
					<tr>
						<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td>
					</tr>
					<tbody id="pmoptions"<if condition="!$bbuserinfo[receivepm]"> disabled="disabled"</if>>
						<tr>
							<td><br />$vbphrase[accept_pm_only_from_contacts]</td>
						</tr>
						<tr>
							<td><label for="cb_receivepmbuddies"><input type="checkbox" name="options[receivepmbuddies]" value="1" id="cb_receivepmbuddies" $checked[receivepmbuddies] />$vbphrase[pm_from_contacts_only]</label><input type="hidden" name="set_options[receivepmbuddies]" value="1" /></td>
						</tr>
						<tr>
							<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
						</tr>
						<tr>
							<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
						</tr>
						<tr>
							<td><br />$vbphrase[browsing_when_receive_pm_popup]</td>
						</tr>
						<tr>
							<td><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
						</tr>
					</tbody>
					</table>
				</fieldset>
				<else />
				<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
				<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
				<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
				</if>
	
				$template_hook[usercp_options_messaging]
	
				$customfields[messaging]
				
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_thrd')"><img id="collapseimg_uopt_thrd" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_thrd].gif" alt="" border="0" /></a>
			$vbphrase[thread_display_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_uopt_thrd" style="$vbcollapse[collapseobj_uopt_thrd]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				
				<fieldset class="fieldset">
					<legend>$vbphrase[visible_post_elements]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[option_to_hide_elements]</td>
					</tr>
					<tr>
						<td>
							<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
							<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
							<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[showimages]" value="1" /></div>
						</td>
					</tr>
					</table>
				</fieldset>
				
				<fieldset class="fieldset">
					<legend><label for="sel_threadedmode">$vbphrase[thread_display_mode]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="faq.php?$session[sessionurl]faq=vb_board_usage#faq_vb_threadedmode">$vbphrase[choose_thread_display_mode]</phrase></td>
					</tr>
					<tr>
						<td>
							<span style="float:$stylevar[right]">
							<select name="threadedmode" id="sel_threadedmode">
								<option value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]</option>
								<option value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]</option>
								<if condition="$vboptions['allowthreadedmode']">
								<option value="1" $threaddisplaymode[1]>$vbphrase[threaded]</option>
								<option value="2" $threaddisplaymode[2]>$vbphrase[hybrid]</option>
								</if>
							</select>
							</span>
							<label for="sel_threadedmode">$vbphrase[thread_display_mode]:</label>
						</td>
					</tr>
					</table>
				</fieldset>
				
				<fieldset class="fieldset">
					<legend><label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[use_set_posts_before_splitting]</td>
					</tr>
					<tr>
						<td>
							<span style="float:$stylevar[right]">
							<select name="umaxposts" id="sel_umaxposts">
								<option value="-1" $postsdefaultselected>$vbphrase[use_forum_default]</option>
								$maxpostsoptions
							</select>
							</span>
							<label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]:</label>
						</td>
					</tr>
					</table>
				</fieldset>
				
				<fieldset class="fieldset">
					<legend><label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[time_period_to_display_threads]</td>
					</tr>
					<tr>
						<td>
							<span style="float:$stylevar[right]">
							<select name="prunedays" id="sel_prunedays">
								<option value="0" $daysdefaultselected>$vbphrase[use_forum_default]</option>
								<option value="1" $days1selected>$vbphrase[show_threads_from_last_day]</option>
								<option value="2" $days2selected><phrase 1="2">$vbphrase[show_threads_from_last_x_days]</phrase></option>
								<option value="7" $days7selected>$vbphrase[show_threads_from_last_week]</option>
								<option value="10" $days10selected><phrase 1="10">$vbphrase[show_threads_from_last_x_days]</phrase></option>
								<option value="14" $days14selected><phrase 1="2">$vbphrase[show_threads_from_last_x_weeks]</phrase></option>
								<option value="30" $days30selected>$vbphrase[show_threads_from_last_month]</option>
								<option value="45" $days45selected><phrase 1="45">$vbphrase[show_threads_from_last_x_days]</phrase></option>
								<option value="60" $days60selected><phrase 1="2">$vbphrase[show_threads_from_last_x_months]</phrase></option>
								<option value="75" $days75selected><phrase 1="75">$vbphrase[show_threads_from_last_x_days]</phrase></option>
								<option value="100" $days100selected><phrase 1="100">$vbphrase[show_threads_from_last_x_days]</phrase></option>
								<option value="365" $days365selected>$vbphrase[show_threads_from_last_year]</option>
								<option value="-1" $daysallselected>$vbphrase[show_all_threads]</option>
							</select>
							</span>
							<label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]:</label>
						</td>
					</tr>
					</table>
				</fieldset>
				
				$template_hook[usercp_options_threadview]
				
				$customfields[threadview]
				
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_date')"><img id="collapseimg_uopt_date" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_date].gif" alt="" border="0" /></a>
			$vbphrase[date_time_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_uopt_date" style="$vbcollapse[collapseobj_uopt_date]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
				$timezoneoptions
			
				<fieldset class="fieldset">
					<legend><label for="sel_startofweek">$vbphrase[start_of_the_week]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[parts_use_different_start_of_week]</td>
					</tr>
					<tr>
						<td>
							<span style="float:$stylevar[right]">
							<select name="startofweek" id="sel_startofweek">
								<option value="1" $day1selected>$vbphrase[sunday]</option>
								<option value="2" $day2selected>$vbphrase[monday]</option>
								<option value="3" $day3selected>$vbphrase[tuesday]</option>
								<option value="4" $day4selected>$vbphrase[wednesday]</option>
								<option value="5" $day5selected>$vbphrase[thursday]</option>
								<option value="6" $day6selected>$vbphrase[friday]</option>
								<option value="7" $day7selected>$vbphrase[saturday]</option>
							</select>
							</span>
							<label for="sel_startofweek">$vbphrase[start_of_the_week]:</label>
						</td>
					</tr>
					</table>
				</fieldset>
				
				$template_hook[usercp_options_datetime]
				
				$customfields[datetime]
			
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
		$vbphrase[miscellaneous_options]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel" id="collapseobj_uopt_misc" style="$vbcollapse[collapseobj_uopt_misc]">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<if condition="$show['editormode_picker']">
			<fieldset class="fieldset">
				<legend><label for="sel_showvbcode">$vbphrase[message_editor_interface]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[entering_message_three_interface]</td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]">
						<select name="showvbcode" id="sel_showvbcode">
							<option value="0" $selectvbcode[0]>$vbphrase[basic_editor_simple_text_box]</option>
							<option value="1" $selectvbcode[1]>$vbphrase[standard_editor_extra_formatting]</option>
							<if condition="$show['editormode_wysiwyg']">
							<option value="2" $selectvbcode[2]>$vbphrase[enhanced_interface_wysiwyg]</option>
							</if>
						</select>
						</span>
						<label for="sel_showvbcode">$vbphrase[message_editor_interface]:</label>
					</td>
				</tr>
				</table>
			</fieldset>
			<else />
				<input type="hidden" name="showvbcode" value="$bbuserinfo[showvbcode]" />
			</if>
		
			<if condition="$show['styleoption']">
			<fieldset class="fieldset">
				<legend><label for="sel_newstyleset">$vbphrase[board_skin]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>
						$vbphrase[switch_skin_select]
					</td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]">
						<select name="newstyleset" id="sel_newstyleset">
							$stylesetlist
						</select>
						</span>
						<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>

			<if condition="$show['usercssoption']">
			<fieldset class="fieldset">
				<legend><label for="sel_newstyleset">$vbphrase[user_customizations]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>
						$vbphrase[use_can_make_customizations]
					</td>
				</tr>
				<tr>
					<td>
						<label for="cb_showusercss"><input type="checkbox" name="options[showusercss]" value="1" id="cb_showusercss" $checked[showusercss] />$vbphrase[show_user_customizations]</label><input type="hidden" name="set_options[showusercss]" value="1" />
					</td>
				</tr>
				</table>
			</fieldset>
			</if>

			<if condition="$show['languageoption']">
			<fieldset class="fieldset">
				<legend><label for="sel_languageid">$vbphrase[board_language]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[board_can_be_shown_any_language]</td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]">
						<select name="languageid" id="sel_languageid">
							<option value="0">$vbphrase[use_forum_default]</option>
							$languagelist
						</select>
						</span>
						<label for="sel_languageid">$vbphrase[board_language]:</label>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>
			
			$template_hook[usercp_options_other]
			
			$customfields[other]
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$template_hook[usercp_options_end]

</form>]]></template>
		<template name="modifypassword" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
function hash_passwords(currentpassword, currentpassword_md5, newpassword, newpassword_md5, newpasswordconfirm, newpasswordconfirm_md5)
{
	var junk_output;
	md5hash(currentpassword, currentpassword_md5, junk_output, $show[nopasswordempty]);
	// do various checks
	if (newpassword.value != '')
	{
		md5hash(newpassword, newpassword_md5, junk_output, $show[nopasswordempty]);
	}
	if (newpasswordconfirm.value != '')
	{
		md5hash(newpasswordconfirm, newpasswordconfirm_md5, junk_output, $show[nopasswordempty]);
	}
}
</script>

<form action="profile.php?do=updatepassword" method="post" onsubmit="hash_passwords(currentpassword, currentpassword_md5, newpassword, newpassword_md5, newpasswordconfirm, newpasswordconfirm_md5)">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updatepassword" />
<input type="hidden" name="currentpassword_md5" />
<input type="hidden" name="newpassword_md5" />
<input type="hidden" name="newpasswordconfirm_md5" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['edit_email_field']">
			$vbphrase[edit_email_and_password]
		<else />
			$vbphrase[edit_password]
		</if>
	</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			<if condition="$show['passwordexpired']">
				<div class="smallfont">
					<strong>$vbphrase[current_password_expired]</strong>
				</div>
			</if>

			<div class="fieldset">
				<div>$vbphrase[enter_password_to_continue]:</div>
				<div><input type="password" class="bginput" name="currentpassword" size="50" maxlength="50" /></div>
			</div>

			<fieldset class="fieldset">
				<legend>$vbphrase[edit_password]<if condition="$show['password_optional']"> ($vbphrase[optional])</if></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						<div>$vbphrase[new_password]:</div>
						<div><input type="password" class="bginput" name="newpassword" size="50" maxlength="50" /></div>
					</td>
				</tr>
				<tr>
					<td>
						<div>$vbphrase[confirm_new_password]:</div>
						<div><input type="password" class="bginput" name="newpasswordconfirm" size="50" maxlength="50" /></div>
					</td>
				</tr>
				</table>
			</fieldset>

			<if condition="$show['edit_email_field']">
			<fieldset class="fieldset">
				<legend>$vbphrase[edit_email_address] ($vbphrase[optional])</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						<div>$vbphrase[new_email_address]:</div>
						<div><input type="text" class="bginput" name="email" value="$bbuserinfo[email]" size="50" maxlength="50" dir="ltr" /></div>
					</td>
				</tr>
				<tr>
					<td>
						<div>$vbphrase[confirm_new_email_address]:</div>
						<div><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="50" maxlength="50" dir="ltr" /></div>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
			<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
		</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="modifyprofile" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$bbuserinfo['coppauser']">
<!-- coppa text -->
<form action="register.php?do=coppaform" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="coppaform" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[coppa_information]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<p class="smallfont">
				<phrase 1="$vboptions[contactuslink]">$vbphrase[make_changes_parent_notified]</phrase>
			</p>
			
			<p class="smallfont">
				$vbphrase[print_new_permissions_form]
			</p>
			
			<input type="submit" class="button" style="font-weight:normal" value="$vbphrase[display_permissions_form]" />
		
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<br />
<!-- end coppa text -->
</if>

<form action="profile.php?do=updateprofile" method="post" id="profileform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateprofile" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_your_details]<span class="normal"> $bbuserinfo[username]</span></td>
</tr>
<tr>
	<td class="thead">$vbphrase[registration_required_information]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
			<fieldset class="fieldset">
				<legend>$vbphrase[email_and_password]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[click_button_below_edit_email]</td>
				</tr>
				<tr>
					<td>
						<!-- don't remove -->
						<input type="image" src="$vboptions[cleargifurl]" width="1" height="1" />
						<!-- / don't remove -->
						<input type="submit" class="button" style="font-weight:normal" value="$vbphrase[edit_email_and_password]" name="gotopassword" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<if condition="$bbuserinfo['coppauser']">
			<fieldset class="fieldset">
				<legend><label for="tb_parentemail">$vbphrase[parent_guardian_email]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[if_under_13_provide_parent]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[parent_guardian_email]<br />
						<input type="text" class="bginput" name="parentemail" id="tb_parentemail" size="50" maxlength="30" value="$bbuserinfo[parentemail]" />
						<input type="hidden" name="coppauser" value="1" />
					</td>
				</tr>
				</table>
			</fieldset>
			</if>
			
			<if condition="$show['birthday_required']">
				$birthdaybit
			</if>
		
			$customfields[required]
			
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[optional_information_will]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<if condition="$show['customtitleoption']">
			<fieldset class="fieldset">
				<legend><label for="tb_customtext">$vbphrase[custom_user_title]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td colspan="2">$vbphrase[title_appears_beneath_your_name]</td>
				</tr>
				<tr>
					<td>$vbphrase[your_current_user_title_is]<br /><strong>$bbuserinfo[usertitle]</strong></td>
					<td align="$stylevar[right]"><label for="cb_resettitle"><input type="checkbox" name="resettitle" value="yes" id="cb_resettitle" />$vbphrase[reset]</label></td>
				</tr>
				<tr>
					<td>$vbphrase[custom_user_title]<br /><input type="text" class="bginput" name="customtext" id="tb_customtext" value="" size="50" maxlength="$vboptions[ctMaxChars]" /></td>
				</tr>
				</table>
			</fieldset>
			</if>
			
			<if condition="$show['birthday_optional']">
				$birthdaybit
			</if>
			
			<fieldset class="fieldset">
				<legend><label for="tb_homepage">$vbphrase[home_page_url]</label></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[let_other_visitors_know_url]</td>
				</tr>
				<tr>
					<td>$vbphrase[home_page_url]<br /><input type="text" class="bginput" name="homepage" id="tb_homepage" value="$bbuserinfo[homepage]" size="50" maxlength="200" dir="ltr" /></td>
				</tr>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[instant_messaging]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td colspan="2">$vbphrase[may_enter_identity_for_im]</td>
				</tr>
				<tr>
					<td>$vbphrase[icq_number]<br />
						<img src="$stylevar[imgdir_misc]/im_icq.gif" alt="" />
						<input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="25" maxlength="30" dir="ltr" /></td>
					<td>$vbphrase[aim_screen_name]<br />
						<img src="$stylevar[imgdir_misc]/im_aim.gif" alt="" />
						<input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="25" maxlength="30" dir="ltr" /></td>
				</tr>
				<tr>
					<td>$vbphrase[msn_messenger_handle]<br />
						<img src="$stylevar[imgdir_misc]/im_msn.gif" alt="" />
						<input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" dir="ltr" /></td>
					<td>$vbphrase[yahoo_messenger_handle]<br />
						<img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" />
						<input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" dir="ltr" /></td>
				</tr>
				<tr>
					<td>$vbphrase[skype_name]<br />
						<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
						<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
					<td>&nbsp;</td>
				</tr>
				</table>
			</fieldset>

<if condition="$customfields['regular']">
<!-- start if customfields -->
			
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[additional_information]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

		$customfields[regular]

<!-- end if custom fields -->
</if>
			
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="modifyprofilepic" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form enctype="multipart/form-data" action="profile.php?do=updateprofilepic" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updateprofilepic" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="2">$vbphrase[edit_profile_picture]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[your_current_profile_picture]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr valign="top">
					<if condition="!$show['profilepic']">
					<td class="alt1" style="border:1px inset; padding:$stylevar[cellpadding]px">
					<span class="smallfont">$vbphrase[no_profile_picture]</span>
					</td>			
					<else />
						<td class="smallfont">
						<img src="$bbuserinfo[profileurl]" alt="$vbphrase[your_profile_picture]"  border="0" />
						</td>
					</if>	
					<td class="smallfont">
						<div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[profile_picture_desc]</div>
						<if condition="$show['profilepic']"><div style="margin-bottom:$stylevar[formspacer]px"><label for="profilepic"><input type="checkbox" name="deleteprofilepic" value="1" id="profilepic" />$vbphrase[delete_current_image]</label></div></if>
					</td>
				</tr>
				</table>
			</fieldset>		
		
		
			<fieldset class="fieldset">
				<legend>$vbphrase[custom_profile_picture]</legend>
				
				<div style="padding:$stylevar[formspacer]px">
				<div class="fieldset">
						
				$vbphrase[may_upload_custom_image_controls]<br /><br />
						
				<if condition="$show['profilepic_url']">
				$vbphrase[enter_url_to_image]
					
				<div style="padding:$stylevar[formspacer]px">
					<input type="text" class="bginput" name="avatarurl" value="http://www." size="45" dir="ltr" />
				</div>
				</if>
				
				<if condition="$show['profilepic_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if>
				<div style="padding:$stylevar[formspacer]px">
					<input type="file" class="bginput" name="upload" size="45" />
					<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
				</div>

				<if condition="$show['maxnote']">
					$maxnote
				</if>
				
				</div>
				</div>
			</fieldset>
			
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="modifysignature" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

$preview

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<form action="profile.php?do=updatesignature" enctype="multipart/form-data" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 0)"</if>>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_signature]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">
			
		<!-- message area -->
		<div class="smallfont">$vbphrase[your_signature]:</div>
		$messagearea
		<!-- / message area -->

		</div>
	</div>
	
	<if condition="!$show['cansigpic']">
		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="hidden" name="url" value="$url" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="updatesignature" />
			<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
			<input type="submit" class="button" value="$vbphrase[save_signature]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" value="$vbphrase[preview_signature]" name="preview" accesskey="r" tabindex="1" />	
		</div>
	</if>
	</td>
</tr>

<if condition="$show['cansigpic']">
<tr>
	<td class="tcat">$vbphrase[signature_picture]<a name="sigpic">&nbsp;</a></td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">
			
		<if condition="$sigpicurl">
			<!-- existing image -->
			<fieldset class="fieldset">
				<legend>$vbphrase[your_current_signature_picture]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div style="float:$stylevar[left]; margin-$stylevar[right]:10px"><img src="$sigpicurl" alt="$vbphrase[your_current_signature_picture]"  border="0" /></div>
					<div>
						<if condition="$show['editor_toolbar']">
							<a id="{$editorid}_cmd_wrap0_sigpic" href="#sigpic" onclick="vB_Editor['$editorid'].wrap_tags('sigpic', false); return false;">$vbphrase[insert_signature_picture]</a><br />
							<br />
						</if>
						<label for="delsigpic"><input type="checkbox" name="deletesigpic" value="1" id="delsigpic" />$vbphrase[delete_current_image]</label>
					</div>
				</div>
			</fieldset>
			<!-- / existing image -->
		</if>
		
		<!-- upload control -->
		<fieldset class="fieldset">
			<legend>$vbphrase[upload_signature_picture]</legend>
			
			<div style="padding:$stylevar[formspacer]px; padding-bottom: 0px">
			<div class="fieldset">
			
			$vbphrase[may_upload_custom_image_controls]<br /><br />
	
			<if condition="$show['sigpic_url']">
			$vbphrase[enter_url_to_image]
				
			<div style="padding:$stylevar[formspacer]px">
				<input type="text" class="bginput" name="sigpicurl" value="http://www." size="50" dir="ltr" />
			</div>
			</if>
			
			<if condition="$show['sigpic_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if>
			<div style="padding:$stylevar[formspacer]px">
				<input type="file" class="bginput" name="upload" size="50" />
				<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
			</div>

			<if condition="$show['maxnote']">
				$maxnote
			</if>
			
			<div style="padding-top:$stylevar[formspacer]px"><input type="submit" class="button" value="$vbphrase[upload]" name="preview" tabindex="1" /></div>
			
			</div>
			</div>
		</fieldset>
		<!-- / upload control -->
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="updatesignature" />
		<input type="hidden" name="url" value="$url" />
		<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
		<input type="submit" class="button" value="$vbphrase[save_signature]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" value="$vbphrase[preview_signature]" name="preview" accesskey="r" tabindex="1" />	
	</div>
	</td>
</tr>
</if>

</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('sigperms')"><img id="collapseimg_sigperms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_sigperms].gif" alt="" border="0" /></a>
		$vbphrase[signature_permissions]
	</td>
</tr>
</thead>
<tbody id="collapseobj_sigperms" style="$vbcollapse[collapseobj_sigperms]">
<tr>
	<td class="alt1">
		<table border="0" cellspacing="2" cellpadding="0">
		<tr>
			<td class="smallfont" nowrap="nowrap" valign="top" style="padding-$stylevar[right]: 10px">
				<if condition="$show['canbbcode']">
					<div>$vbphrase[allow_bbcode_basic] <strong><if condition="$show['canbbcodebasic']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_color] <strong><if condition="$show['canbbcodecolor']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_size] <strong><if condition="$show['canbbcodesize']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_font] <strong><if condition="$show['canbbcodefont']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_align] <strong><if condition="$show['canbbcodealign']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_list] <strong><if condition="$show['canbbcodelist']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>			
					<div>$vbphrase[allow_bbcode_link] <strong><if condition="$show['canbbcodelink']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_html] <strong><if condition="$show['allowhtml']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
				<else />
					<div>$vbphrase[allow_bbcode] <strong>$vbphrase[no]</strong></div>
					<div>$vbphrase[allow_html] <strong><if condition="$show['allowhtml']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>			
				</if>
			</td>
			<td class="smallfont" nowrap="nowrap" valign="top">
				<if condition="$show['canbbcode']">
					<div>$vbphrase[allow_img_code] <strong><if condition="$show['allowimg']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_code] <strong><if condition="$show['canbbcodecode']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_php] <strong><if condition="$show['canbbcodephp']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_html] <strong><if condition="$show['canbbcodehtml']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
					<div>$vbphrase[allow_bbcode_quote] <strong><if condition="$show['canbbcodequote']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
				</if>
				<div>$vbphrase[allow_smilies] <strong><if condition="$show['allowsmilies']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
				<div>$vbphrase[can_upload_sig_img] <strong><if condition="$show['cansigpic']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
				<div>$vbphrase[can_upload_ani_gif_sig_img] <strong><if condition="$show['cananimatesigpic']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
			</td>
		</tr>
		</table>
	</td>
</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<!--
<ul>
	<li>$vbphrase[sig_image_max_imagenum] $sigperms[imagemaxnum_display]</li>
	<li>$vbphrase[sig_size_max_number] $sigperms[sizemaxbbcode]</li>
</ul>
-->]]></template>
		<template name="modifyusercss" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$errors">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom:1em">
	<tr>
		<td class="tcat">$vbphrase[errors_occured_when_submitted]</td>
	</tr>
	<tr>
		<td class="alt1">
			<ul style="list-style-type:none; padding:0px; margin:0px">$errors</ul>
		</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

<form action="profile.php?do=docustomize" method="post" id="profileform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="docustomize" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[customize_profile]</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
			<if condition="$usercsspermissions['caneditbgimage']">
				<div class="smallfont" style="margin-bottom: $stylevar[cellpadding]px"><phrase 1="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[background_images_album_x]</phrase></div>
			</if>
			
			<div id="usercss_editor">
			$usercssbits
			</div>
			
			<a name="example"></a>
			<div class="page" id="usercss_example">
			<div id="usercss">
				<div style="margin-bottom:1em">
					<img src="$stylevar[imgdir_misc]/progress.gif" id="preview_progress" class="inlineimg" style="float:$stylevar[right]; display:none" alt="" />
					$vbphrase[usercss_example]
				</div>
				<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<tr><td class="tcat" colspan="2">$vbphrase[usercss_tabletitle]</td></tr>
				<tr><td class="thead" colspan="2">$vbphrase[usercss_tableheader]</td></tr>
				<tr><td class="alt1">$vbphrase[usercss_alternating1]</td><td class="alt2">$vbphrase[usercss_alternating2]</td></tr>
				<tr>
					<td class="panelsurround" colspan="2">
						<div class="panel">
							<div><input type="text" class="bginput" value="$vbphrase[usercss_inputs]" size="40" style="width:85%" /> <input type="button" class="button" value="$vbphrase[go]" /></div>
							<!--<div>$vbphrase[usercss_panel]</div>-->
						</div>
						<!--<div style="margin-top:1em">$vbphrase[usercss_panelsurround]</div>-->
					</td>
				</tr>
				<tr>
					<td class="tfoot" colspan="2">$vbphrase[usercss_tablefooter]</td>
				</tr>
				</table>
				<div style="margin-top:1em">
					$vbphrase[usercss_main]
					<a href="#">$vbphrase[usercss_linkcolor]</a>
					<span class="shade">$vbphrase[usercss_shadecolor]</span>
				</div>
			</div>
			</div>
			
		</div>
	</div>
	<div style="margin-top:$stylevar[cellpadding]px" >
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="button" class="button" value="$vbphrase[clear_all]" id="clear_all_button" onclick="clear_css_customizations()" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>

	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<div id="colorpicker" style="display:none">
<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td class="tcat">
		<table id="colorpicker_feedback" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
		<tr>
			<td><button id="colorpicker_transparent"><img src="$stylevar[imgdir_misc]/colorpicker_transparent.gif" title="$vbphrase[transparent]" alt="" /></button></td>
			<td>
				<table id="colorpicker_surround" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td id="colorpicker_surround_old"></td>
					<td id="colorpicker_surround_new"></td>
				</tr>
				</table>
			</td>
			<td width="100%">&nbsp;</td>
			<td style="white-space:nowrap">
				<button id="colorpicker_close"><img src="$stylevar[imgdir_misc]/colorpicker_close.gif" alt="$vbphrase[close]" /></button>
			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="alt1" style="background-color: black">
		<table cellpadding="0" cellspacing="1" border="0" width="100%" id="colorpicker_swatches">
		</table>
	</td>
</tr>
</table>
</div>]]></template>
		<template name="modifyusergroups" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$show['joinrequests']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">$vbphrase[you_leader_following_groups]</td>
</tr>
<tr>
	<td class="thead">$vbphrase[user_group]</td>
	<td class="thead">$vbphrase[view_requests]</td>
	<td class="thead">$vbphrase[list_members]</td>
</tr>
$joinrequestbits
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
</if>

<if condition="$show['nonmembergroups']">
<form action="profile.php?do=joingroup" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="joingroup" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">$vbphrase[following_groups_available_to_join]</td>
</tr>
<tr>
	<td class="thead">$vbphrase[user_group]</td>
	<td class="thead">$vbphrase[joining_conditions]</td>
	<td class="thead">$vbphrase[join_group]</td>
</tr>
$nonmembergroupbits
<tr>
	<td class="tfoot" align="center" colspan="4"><input type="submit" class="button" value="$vbphrase[join_group]" /></td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<br />
</if>

<if condition="$show['membergroups']">
<form action="profile.php?do=leavegroup" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="leavegroup" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">$vbphrase[member_of_following_groups]</td>
</tr>
<tr>
	<td class="thead">$vbphrase[user_group]</td>
	<td class="thead">$vbphrase[user_title]</td>
	<td class="thead">$vbphrase[leave_group]</td>
</tr>
<tr>
	<td class="alt1">$primarygroup[opentag]$primarygroup[title]$primarygroup[closetag]</td>
	<td class="alt1">$primarygroup[usertitle]</td>
	<td class="alt1"><span class="smallfont">($vbphrase[cannot_leave_primary_group])</span></td>
</tr>
$membergroupbits
<tr>
	<td class="tfoot" align="center" colspan="4"><input type="submit" class="button" value="$vbphrase[leave_group]" /></td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<br />
</if>

<if condition="$show['displaygroups']">
<form action="profile.php?do=updatedisplaygroup" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updatedisplaygroup" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">$vbphrase[may_be_identified_member_groups]</td>
</tr>
<tr>
	<td class="thead">$vbphrase[user_group]</td>
	<td class="thead">$vbphrase[user_title]</td>
	<td class="thead">&nbsp;</td>
</tr>
<tr>
	<td class="alt1">$primarygroup[opentag]$primarygroup[title]$primarygroup[closetag]</td>
	<td class="alt1">$primarygroup[usertitle]</td>
	<td class="alt1"><span class="smallfont"><label for="rb_identify_$primarygroupid"><input type="radio" name="usergroupid" value="$primarygroupid" id="rb_identify_$primarygroupid" $checked[$primarygroupid] />$vbphrase[identify_as_member_of_group]</label></span></td>
</tr>
$displaygroupbits
<tr>
	<td class="tfoot" align="center" colspan="4"><input type="submit" class="button" value="$vbphrase[update_display_group]" /></td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
</if>]]></template>
		<template name="modifyusergroups_requesttojoin" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="profile.php?do=insertjoinrequest&amp;usergroupid=$usergroupid" method="post" onsubmit="return validatemessage(this.reason.value, 0, 0, 250, 0);">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="insertjoinrequest" />
<input type="hidden" name="usergroupid" value="$usergroupid" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[request_to_join_group]<span class="normal">: $usergroup[title]</span></td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[join_request]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>$vbphrase[reason_for_request]</td>
			</tr>
			<tr>
				<td>
					<div>$vbphrase[request_reason]:</div>
					<div><input type="text" name="reason" value="" maxlength="250" size="50" tabindex="1" /></div>
				</td>
			</tr>
			<tr>
				<td>
					<div><phrase 1="$usergroup[title]">$vbphrase[request_to_join_x__moderated_by_leaders]</phrase>:</div>
					<div>$groupleaders</div>
				</td>
			</tr>
			</table>
		</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[send_request]" accesskey="s" tabindex="1" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="modifyuserlist_confirm" templatetype="template" date="1203004056" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="profile.php?do=$action&amp;list=$list&amp;userid=$userid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="$action" />
<input type="hidden" name="userlist" value="$userlist" />
<input type="hidden" name="userid" value="$userid" />
<input type="hidden" name="hash" value="$bbuserinfo[logouthash]" />
<input type="hidden" name="url" value="$url" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[confirm_user_list_modification]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div class="smallfont" style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			<phrase 1="$userinfo[username]">$vbphrase[$confirm_phrase]</phrase>
			<if condition="$show['friend_checkbox']"><div style="margin-top:1em"><label for="also"><input type="checkbox" name="friend" id="also" value="1"$friend_checked /><phrase 1="$userinfo[username]">$vbphrase[$supplemental_phrase]</phrase></label></div></if>
		</div>
	</div>
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[yes]" name="confirm" accesskey="s" />
		<input type="submit" class="button" value="$vbphrase[no]" name="deny" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
	</templategroup>
	<templategroup name="المتصفح/المستكشف Navigation / Breadcrumb">
		<template name="navbar" templatetype="template" date="1209527740" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[<br />

<!-- breadcrumb, login, pm info -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<!-- بداية الخيارات والقوائم الإضافية -->
<table cellpadding="0" cellspacing="2" border="0" width="100%" align="center"><tr>

<if condition="$show['popups']">

<!-- قائمة منوعات المنسدلة -->
<td class="thead" align="center" id="mwadropmemoreoptions">
<a href="#">منوعات</a>
<script type="text/javascript"> vbmenu_register("mwadropmemoreoptions", false); </script>
<div class="vbmenu_popup" id="mwadropmemoreoptions_menu" style="display:none; margin-left:100px;" align="right">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="thead" align="center" width="150" nowrap>
روابط إضافية
</td></tr>

<tr><td class="vbmenu_option" align="right">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a>
</td></tr>

<tr><td class="vbmenu_option" nowrap="nowrap">
<span onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$vboptions[bburl]');">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="javascript:location.reload()">اجعلنا الرئيسية</a></span>
</td></tr>

<tr><td class="vbmenu_option" nowrap="nowrap">
<img src="$stylevar[imgdir_misc]/menu.gif" align="absmiddle">
<a href="javascript:window.external.AddFavorite('$vboptions[bburl]', '$vboptions[bbtitle]')">
اضفنا في مفضلتك</a>
</td></tr>

</td></tr></table></div></td>
<!-- نهاية قائمة منوعات المنسدلة -->

</if>

<!-- خيارات الناف بار -->
<!-- nav buttons bar -->
	$template_hook[navbar_buttons_left]
	<if condition="$show['popups']">		
		<if condition="$show['searchbuttons']">
			<if condition="$show['member']">
			<td class="vbmenu_control" align="center"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
			<else />
			<td class="vbmenu_control" align="center"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
			</if>
			<td id="navbar_search" class="vbmenu_control" align="center"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
		</if>
		<if condition="$show['member']">
			<td id="usercptools" class="vbmenu_control" align="center"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
		</if>
	<else />		
		<if condition="$show['searchbuttons']">
			<td class="vbmenu_control" align="center"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
			<if condition="$show['member']">
			<td class="vbmenu_control" align="center"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
			<else />
			<td class="vbmenu_control" align="center"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
			</if>
		</if>
		<td class="vbmenu_control" align="center"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
		<if condition="$show['member']">			
			<td class="vbmenu_control" align="center"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>			
		</if>			
	</if>
	$template_hook[navbar_buttons_right]
<!-- / nav buttons bar -->
<!-- خيارات الناف بار -->

</tr></table>
<!-- نهاية الخيارات والقوائم الإضافية -->

<table cellpadding="4" cellspacing="2" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%">
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
				<td nowrap>

<!-- هاك عام ـ تغذية rss -->
<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع المنتدى" /></a></if>
<!-- هاك عام ـ تغذية rss -->

<a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
				<td>&nbsp;</td>
				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
			</tr>
			<tr>
				<td class="navbar" style="padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
			</tr>
			</table>			
		<else />
			<div class="navbar">

<!-- هاك عام ـ تغذية rss -->
<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع المنتدى" /></a></if>
<!-- هاك عام ـ تغذية rss -->

<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>	
	
	<if condition="$show['member']">
	
		<td class="alt2" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[musername]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
			<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

			<if condition="$show['notifications']">
				<div><span id="notifications"><a href="usercp.php?$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
				<script type="text/javascript"> vBmenu.register("notifications"); </script>
			<else /><if condition="$show['pmstats']">
				<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
			</if></if>
		
			<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
		</div>
		</td>
		
	<else />
		
		<td class="alt2" nowrap="nowrap" style="padding:0px">
			
		<!-- login form -->
		<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
		<tr>
			<td class="smallfont" nowrap><label for="navbar_username">$vbphrase[username]</label></td>
			<td><input type="text" class="bginput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
			<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" checked accesskey="c" />$vbphrase[remember_me]</label></td>
		</tr>
		<tr>
			<td class="smallfont" nowrap><label for="navbar_password">$vbphrase[password]</label></td>
			<td><input type="password" class="bginput" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
		</tr>
		</table>
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="login" />		
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->
			
		</td>
		
	</if>	
	
</tr>

<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
	<td class="tcat" colspan="15"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
	<td class="alt1" colspan="15">
		<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
	</td>
</tr>
<!-- / guest welcome message -->
</if>

<if condition="$show['forumdesc']">
	<tr>
		<td class="alt1" colspan="15" width="100%"><font color="#C30000">$foruminfo[title]</font> <font color="#C30000">$foruminfo[description]</font></td>
	</tr>
</if>

</table>
<!-- / breadcrumb, login, pm info -->

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<if condition="$show['notices']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="thead">$vbphrase[notices]</td>
	</tr>
	<tr>
		<td class="alt1">$notices</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

	<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
	
	<if condition="$show['searchbuttons']">
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<form action="search.php?do=process" method="post">

					<input type="hidden" name="do" value="process" />
					<input type="hidden" name="quicksearch" value="1" />
					<input type="hidden" name="childforums" value="1" />
					<input type="hidden" name="exactname" value="1" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
					<div style="margin-top:$stylevar[cellpadding]px">
						<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
						&nbsp;
						<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
					</div>					
				</form>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>

<!-- هاك عام ـ البحث في العناوين -->
<tr><td class="vbmenu_option">
<input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]
</td></tr>
<!-- هاك عام ـ البحث في العناوين -->

<!-- هاك عام ـ روابط بحث أخرى -->
		<tr>
			<td class="thead">روابط بحث أخرى</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php" accesskey="4" rel="nofollow">البحث المتقدم</a></td>
		</tr>
<tr><td class="vbmenu_option"><a href="memberlist.php?do=search">بحث في قائمة الأعضاء</a></td></tr>
		<tr>
<td class="vbmenu_option"><a href="search.php?do=getnew">مشاركات جديدة</a></td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php?do=getdaily">مشاركات اليوم</a></td>
		</tr>

		<tr>
			<td class="vbmenu_option"><a href="search.php?do=process&replyless=1">مواضيع لم يرد عليها</a></td>
		</tr>

<if condition="$vboptions['enablesearches']">
<if condition="$show['member']">
<tr><td class="vbmenu_option" align="right">
<a href="search.php?do=process&exactname=1&searchuser=$bbuserinfo[username]&showposts=1">عرض مشاركاتك</a>
</td></tr></if></if>

<if condition="$show['member']">
<tr><td class="vbmenu_option" align="right">
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
</td></tr></if>
<!-- هاك عام ـ روابط بحث أخرى -->

		$template_hook[navbar_search_menu]
		</table>
	</div>
	<!-- / header quick search form -->
	</if>

	<if condition="$show['member']">
	<!-- user cp tools menu -->
	<div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">
		
		<tr><td class="thead">$vbphrase[quick_links]</td></tr>		
		<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos1]
				
		<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
		<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
		<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos2]
		
		<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
		<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
		<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
		$template_hook[navbar_quick_links_menu_pos3]
		
		</table>
	</div>
	<!-- / user cp tools menu -->

	<if condition="$notifications_total">
	<!-- notifications menu -->
	<div class="vbmenu_popup" id="notifications_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr><td class="thead">$vbphrase[your_notifications]</td></tr>
		$notifications_menubits
		</table>
	</div>
	<!-- / notifications menu -->
	</if>
	
	</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->
	<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
				<input type="text" class="bginput" id="pagenav_itxt" size="4" />
				<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
			</form>
			</td>
		</tr>
		</table>
	</div>
<!-- / PAGENAV POPUP -->
</if>

$ad_location[ad_navbar_below]]]></template>
		<template name="navbar_link" templatetype="template" date="1198354543" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$show['breadcrumb']">
	<span class="navbar"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" align="absmiddle" />&nbsp;<a href="$nav_url">$nav_title</a></span>
<else />
	$nav_title
</if>]]></template>
	</templategroup>
	<templategroup name="المشاركات الجديدة/New Posting">
		<template name="newattachment" templatetype="template" date="1205526114" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[manage_attachments] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">

<script type="text/javascript">
<!--

	function verify_upload(formobj)
	{
		var haveupload = false;
		for (var i=0; i < formobj.elements.length; i++)
		{
			var elm = formobj.elements[i];
			if (elm.type == 'file' || elm.type == 'text')
			{
				if (elm.value != "")
				{
					haveupload = true;
				}
			}
		}

		if (haveupload)
		{
			obj = fetch_object("uploading");
			obj.style.display = "";
			return true;
		}
		else
		{
			alert("$vbphrase[select_a_file_to_attach]");
			return false;
		}
	}

<if condition="$show['updateparent']">
	if (typeof window.opener.vB_Attachments != 'undefined')
	{
		window.opener.vB_Attachments.reset();
		$new_attachlist_js
	}
</if>

//-->
</script>

<div class="page">
<form enctype="multipart/form-data" action="newattachment.php?do=manageattach&amp;p=$postid" name="newattachment" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="manageattach" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="editpost" value="$editpost" />
<input type="hidden" name="posthash" value="$posthash" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
		$vbphrase[manage_attachments]
	</td>
</tr>
<if condition="$show['errors']">
<tr>
	<td class="thead">$vbphrase[upload_errors]</td>
</tr>
$errorlist
</if>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

			<if condition="$show['attachmentlimits']">
				<div class="fieldset">
					<div style="padding:$stylevar[formspacer]px">
						<phrase 1="$attach_username">$vbphrase[sum_of_attachments_owned_by_x]</phrase>:
						$attachsum<br />
						<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
						<tr>
							<if condition="$show['currentsize']"><td width="$attachsize" bgcolor="#8D0000" style="border:1px outset" class="smallfont" title="<phrase 1="$attachsum">$vbphrase[current_attachment_total_x]</phrase>">&nbsp;</td></if>
							<if condition="$show['totalsize']"><td width="$totalsize" bgcolor="green" style="border:1px outset" class="smallfont" title="<phrase 1="$attachlimit">$vbphrase[maximum_attachment_storage_x]</phrase>">&nbsp;</td></if>
						</tr>
						</table>
					</div>
				</div>
			</if>

			<if condition="$show['attachoption']">
			<if condition="$show['attachfile']">
				<fieldset class="fieldset">
					<legend>$vbphrase[upload_file_from_your_computer]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
					<tr valign="bottom">
						<td>
							<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
							$attachinput
						</td>
						<td align="$stylevar[right]"><input type="submit" class="button" name="upload" value="$vbphrase[upload]" style="width:70px" onclick="return verify_upload(this.form);" /></td>
					</tr>
					</table>
				</fieldset>
			</if>
			<if condition="$show['attachurl']">
				<fieldset class="fieldset">
					<legend>$vbphrase[upload_file_from_url]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
					<tr valign="bottom">
						<td>
							$attachurlinput
						</td>
						<td align="$stylevar[right]"><input type="submit" class="button" name="upload" value="$vbphrase[upload]" style="width:70px" onclick="return verify_upload(this.form);" /></td>
					</tr>
					</table>
				</fieldset>
			</if>
			<else />
			<fieldset class="fieldset">
				<legend>$vbphrase[upload_file]</legend>
				<if condition="$show['forumclosed']">
					$vbphrase[this_forum_is_not_accepting_new_attachments]
				<else />
					<phrase 1="$vboptions[attachlimit]">$vbphrase[have_uploaded_maximum_x_files]</phrase>
				</if>
			</fieldset>
			</if>
			
			<if condition="$show['attachmentlist']">
			<fieldset class="fieldset">
				<legend>$vbphrase[current_attachments] ($totallimit)</legend>
				<div style="padding:$stylevar[formspacer]px">
					<table class="fieldset" cellpadding="0" cellspacing="1" border="0" width="100%">
					$attachments
					</table>
				</div>
			</fieldset>
			</if>

	<div align="center" id="uploading" style="display:none; margin-top:$stylevar[cellpadding]px">
		<strong>$vbphrase[uploading_file]</strong>
	</div>	
	
			
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
			<tr>
				<td>
					<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
					<thead>
					<tr>
						<td class="thead" colspan="4">
							<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('attachkey')"><img id="collapseimg_attachkey" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_attachkey].gif" alt="" border="0" /></a>
							<span class="fieldset">$vbphrase[attachment_key]</span>
						</td>
					</tr>
					</thead>
					<tbody id="collapseobj_attachkey" style="$vbcollapse[collapseobj_attachkey]">
					<tr class="tcat">
						<td class="smallfont"><strong>$vbphrase[filetype]</strong></td>
						<td class="smallfont"><strong>$vbphrase[max_filesize]</strong></td>
						<td class="smallfont"><strong>$vbphrase[max_width]</strong></td>
						<td class="smallfont"><strong>$vbphrase[max_height]</strong></td>
					</tr>
					$attachkeybits
					</tbody>
					</table>					
				</td>
			</tr>
			</table>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="button" class="button" value="$vbphrase[close_this_window]" onclick="window.close();" />
	</div>	
	
	</td>
</tr>
</table>


</form>
</div>

</body>
</html>]]></template>
		<template name="newpost_preview" templatetype="template" date="1203004057" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<script type="text/javascript">
<!--
var preview_focus = true;
//-->
</script>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['errors']">
			$vbphrase[errors_occured_when_submitted]:
		<else />
			$vbphrase[preview]
		</if>
	</td>
</tr>
<tr>
	<td class="alt1">
		<if condition="$show['errors']">
			<!--POSTERROR do not remove this comment-->
			<ol>$errorlist</ol>
			<!--/POSTERROR do not remove this comment-->
		<else />
		
			<if condition="$show['messageicon'] OR $newpost['title']">
				<!-- icon and title -->
				<div class="smallfont">
					<if condition="$show['messageicon']"><img class="inlineimg" src="$newpost[iconpath]" alt="$newpost[icontitle]" border="0" /></if>
					<if condition="$newpost['title']"><strong>$newpost[title]</strong></if>
				</div>
				<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
				<!-- / icon and title -->
			</if>
			$previewmessage
			
			<if condition="$show['attachments']">
			<!-- attachments -->
				<div style="padding:$stylevar[cellpadding]px">
				
				<if condition="$show['thumbnailattachment']">
					<fieldset class="fieldset">
						<legend>$vbphrase[attached_thumbnails]</legend>
						<div style="padding:$stylevar[formspacer]px">
						$post[thumbnailattachments]
						</div>
					</fieldset>
				</if>
			
				<if condition="$show['imageattachment']">
					<fieldset class="fieldset">
						<legend>$vbphrase[attached_images]</legend>
						<div style="padding:$stylevar[formspacer]px">
						$post[imageattachments]
						</div>
					</fieldset>
				</if>
				
				<if condition="$show['imageattachmentlink']">
					<fieldset class="fieldset">
						<legend>$vbphrase[attached_images]</legend>
						<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
						$post[imageattachmentlinks]
						</table>
						</fieldset>
				</if>
				
				<if condition="$show['otherattachment']">
					<fieldset class="fieldset">
						<legend>$vbphrase[attached_files]</legend>
						<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
						$post[otherattachments]
						</table>
					</fieldset>
				</if>
				
				<if condition="$show['moderatedattachment']">
					<fieldset class="fieldset">
						<legend>$vbphrase[attachments_pending_approval]</legend>
						<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
						$post[moderatedattachments]
						</table>
					</fieldset>		
				</if>
				
				</div>
			<!-- / attachments -->
			</if>			
			
			<if condition="$show['signature']">
			<div>__________________<br />
			$post[signature]</div>
			</if>
		</if>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />]]></template>
		<template name="newreply" templatetype="template" date="1203004057" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[reply_to_topic] - $vboptions[bbtitle]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
		$vbphrase[reply_to_thread]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">		
	
		$usernamecode

		$human_verify

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->
			
		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->
		
		<if condition="$unquoted_post_count > 0">
			<div id="unquoted_posts" class="smallfont" style="display: none">
			<if condition="$unquoted_post_count == 1">
				$vbphrase[selected_1_post_not_part_thread]
			<else />
				<phrase 1="$unquoted_post_count">$vbphrase[selected_x_posts_not_part_thread]</phrase>
			</if>
			</div>
			<script type="text/javascript" src="clientscript/vbulletin_ajax_quote.js?v=$vboptions[simpleversion]"></script>
			<script type="text/javascript">
			<!--
				if (AJAX_Compatible)
				{
					fetch_object('unquoted_posts').style.display = '';
				}
				init_unquoted_posts('$editorid', $threadinfo[threadid]);
			// -->
			</script>
		</if>
		$posticons	
		
		</div>		
	</div>
			
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="postreply" />
		<input type="hidden" name="t" value="$threadid" />
		<input type="hidden" name="p" value="$postid" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="hidden" name="multiquoteempty" id="multiquote_empty_input" value="$multiquote_empty" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['additional_options']">
<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
							
				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
	
				$attachmentoption
				
				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>
				
				<if condition="$show['threadrating']">
				<fieldset class="fieldset">
					<legend>$vbphrase[rate_thread]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div>$vbphrase[can_add_a_score_for_thread]</div>
						<div>
							<select name="rating" tabindex="1">
								<option value="0"$rate[0]>$vbphrase[choose_a_rating]</option>
								<optgroup>
									<option value="5"$rate[5]>5 : $vbphrase[excellent]</option>
									<option value="4"$rate[4]>4 : $vbphrase[good]</option>
									<option value="3"$rate[3]>3 : $vbphrase[average]</option>
									<option value="2"$rate[2]>2 : $vbphrase[bad]</option>
									<option value="1"$rate[1]>1 : $vbphrase[terrible]</option>
								</optgroup>
							</select>
						</div>						
					</div>
				</fieldset>
				</if>
				
				$threadmanagement
				
				</div>
			</div>
			
			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />			
			</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

</form>

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('threadreview')"><img id="collapseimg_threadreview" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_threadreview].gif" alt="" border="" /></a>
		$vbphrase[topic_review_newest_first]
	</td>
</tr>
</table>

<div id="collapseobj_threadreview" style="$vbcollapse[collapseobj_threadreview]">

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
	
	$threadreviewbits
	
	<if condition="$show['reviewmore']">
	<tr>
		<td class="tfoot" align="center" colspan="2"><span class="smallfont">
			<phrase 1="$vboptions[maxposts]" 2="showthread.php?$session[sessionurl]t=$threadid">$vbphrase[thread_has_more_than_x_review]</phrase>
		</span></td>
	</tr>
	</if>
	
	</table>
	
</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

$forumrules

$footer

</body>
</html>]]></template>
		<template name="newthread" templatetype="template" date="1207072941" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[post_new_thread] - $vboptions[bbtitle]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newthread.php?do=postthread&amp;f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
		$vbphrase[post_new_thread]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
	
		$usernamecode

		$human_verify

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td>
				<if condition="$prefix_options">
					<select name="prefixid" class="bginput">
						<option value="">$vbphrase[no_prefix_meta]</option>
						$prefix_options
					</select>
				</if>
				<input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" />
			</td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->
			
		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->

		<if condition="$show['tag_option']">
		<fieldset class="fieldset">
			<legend>$vbphrase[tags]</legend>
			<div align="right" style="padding:$stylevar[formspacer]px">
				<div>$vbphrase[separate_tags_using_comma]</div>
				<span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]" size="40" /></span>
				<if condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
		</div>
			
			<if condition="$show['popups']">
				<div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
				<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
				<script type="text/javascript">
				<!--
				vbmenu_register('tag_add', true);
				tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp', 'tag_add_input', 'tag_add');
				tag_add_comp.allow_multiple = true;
				//-->
				</script>
			</if>
		</fieldset>
		</if>
		
		$posticons
	</div>
	</div>
			
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="f" value="$forumid" />
		<input type="hidden" name="do" value="postthread" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />	
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['additional_options']">
<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
	
				<if condition="$show['podcasturl']">
				<!-- podcast stuff -->
				<fieldset class="fieldset">
					<legend>$vbphrase[podcast_options]</legend>
							
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td class="smallfont">$vbphrase[podcast_url]:</td>
						<td class="smallfont">&nbsp;$vbphrase[filesize_bytes]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcasturl" value="$podcasturl" size="50" maxlength="255" tabindex="1" title="$vbphrase[podcast_url]" /></td>
						<td>&nbsp;<input type="text" class="bginput" name="podcastsize" value="$podcastsize" size="10" tabindex="1" title="$vbphrase[podcast_size]" /></td>	
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[subtitle]:</td>
						<td class="smallfont">&nbsp;$vbphrase[explicit]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastsubtitle" value="$podcastsubtitle" size="50" maxlength="255" tabindex="1" title="$vbphrase[subtitle]" /></td>
						<td><input type="checkbox" name="podcastexplicit" value="1" tabindex="1" $explicitchecked title="$vbphrase[explicit]" /></td>
					</tr>	
					<tr>
						<td class="smallfont">$vbphrase[keywords]:</td>
						<td class="smallfont">$vbphrase[author]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastkeywords" value="$podcastkeywords" size="50" maxlength="255" tabindex="1" title="$vbphrase[keywords]" /></td>
						<td><input type="text" class="bginput" name="podcastauthor" value="$podcastauthor" size="25" maxlength="255" tabindex="1" title="$vbphrase[author]" /></td>
					</tr>	
					</table>
				</fieldset>
				<!-- / podcast stuff -->
				</if>		
							
				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
	
				$attachmentoption
						
				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>
				
				<if condition="$show['poll']">
				<fieldset class="fieldset">
					<legend>$vbphrase[post_a_poll]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="cb_postpoll"><input type="checkbox" name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />$vbphrase[yes_post_a_poll_thread]</label></div>
						<div><label for="polloptnum">$vbphrase[number_of_poll_options]: <input type="text" class="bginput" size="5" name="polloptions" value="$polloptions" id="polloptnum" tabindex="1" /></label> <if condition="$vboptions['maxpolloptions']">($vbphrase[maximum]: $vboptions[maxpolloptions])</if></div>
					</div>
				</fieldset>
				</if>
				
				$threadmanagement
				
				</div>
			</div>
			
			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />			
			</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

</form>

<br />

$forumrules

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="رسالة خاصة">
		<template name="pm_editfolders" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="private.php?do=updatefolders" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="updatefolders" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_folders]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[standard_folders]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td><phrase 1="private.php?$session[sessionurl]folderid=0" 2="$vbphrase[inbox]" 3="$inboxtotal">$vbphrase[x_contains_y_messages]</phrase> <a href="private.php?do=emptyfolder&amp;folderid=0"><em>$vbphrase[empty_folder]</em></a></td>
			</tr>
			<tr>
				<td><phrase 1="private.php?$session[sessionurl]folderid=-1" 2="$vbphrase[sent_items]" 3="$sentitemstotal">$vbphrase[x_contains_y_messages]</phrase> <a href="private.php?do=emptyfolder&amp;folderid=-1"><em>$vbphrase[empty_folder]</em></a></td>
			</tr>
			</table>
		</fieldset>
		
		<if condition="$show['customfolders']">
			<fieldset class="fieldset">
				<legend>$vbphrase[your_custom_folders]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				$editfolderbits
				<tr>
					<td>$vbphrase[to_rename_a_folder]</td>
				</tr>
				<tr>
					<td>$vbphrase[to_delete_a_folder]</td>
				</tr>
				</table>
			</fieldset>
		</if>
		
		<fieldset class="fieldset">
			<legend>$vbphrase[add_new_folders]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			$addfolderbits
			<tr>
				<td>$vbphrase[to_add_a_new_folder]</td>
			</tr>
			</table>
		</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_folders]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="pm_emptyfolder" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="private.php?do=confirmemptyfolder&amp;folderid=$folderid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="confirmemptyfolder" />
<input type="hidden" name="folderid" value="$folderid" />
<input type="hidden" name="dateline" value="$dateline" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[confirm_deletion]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[confirm_deletion]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td><phrase 1="$folder">$vbphrase[delete_items_in_x]</phrase></td>
			</tr>
			</table>
		</fieldset>
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[yes]" accesskey="s" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="pm_messagelist" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<script type="text/javascript">
<!--
function check_all_group(checkobj, value)
{
	formobj = checkobj.form;
	for (var i = 0; i < formobj.elements.length; i++)
	{
		elm = formobj.elements[i];
		if (elm.type == "checkbox" && elm.value == value)
		{
			elm.checked = checkobj.checked;
		}
	}
}
//-->
</script>

<form action="private.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="pp" value="$perpage" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pmlistinfo')"><img id="collapseimg_pmlistinfo" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pmlistinfo].gif" alt="" border="0" /></a>
			$vbphrase[private_messages_in_folder]<span class="normal">: <span id="nav_pmfolders.listinfo">$foldername<script type="text/javascript"> vbmenu_register("nav_pmfolders.listinfo"); </script></span></span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_pmlistinfo" style="$vbcollapse[collapseobj_pmlistinfo]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				<fieldset class="fieldset">
					<legend>$vbphrase[folder_controls]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$foldername" 2="$totalmessages" 3="$bbuserinfo[pmtotal]" 4="$permissions[pmquota]">$vbphrase[x_contains_y_z_messages_of_xx]</phrase> (<a href="private.php?do=emptyfolder&amp;folderid=$folderid"><em>$vbphrase[empty_folder]</em></a>)</td>
					</tr>
					<tr>
						<td>
							<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
							<tr>
								<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>">&nbsp;</td></if>
								<if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" style="background-color:orange; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>">&nbsp;</td></if>
								<if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" style="background-color:green; font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>">&nbsp;</td></if>
							</tr>		
							</table>
						</td>
					</tr>
					<tr>
						<td>
							$vbphrase[jump_to_folder]:<br />
							<select name="folderid" onchange="this.form.submit();">
							$folderjump
							</select>$gobutton
						</td>
					</tr>
					<if condition="$receipts['unconfirmed'] OR $receipts['confirmed']"><tr>
						<td><a href="private.php?$session[sessionurl]do=trackpm"><phrase 1="$receipts[confirmed]" 2="$receipts[unconfirmed]">$vbphrase[you_have_x_and_y_receipts]</phrase></a></td>
					</tr></if>
					</table>
				</fieldset>
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />

<if condition="$show['messagelist']">

<form action="private.php?do=managepm&amp;folderid=$folderid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="folderid" value="$folderid" />

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="4" style="padding:$stylevar[cellpadding]px; padding-$stylevar[right]:0px">
			<span class="smallfont" style="float:$stylevar[right]">
				<label for="checkall_all">
				$vbphrase[messages]: <strong>$totalmessages</strong>
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="js_check_all(this.form)" />
				</label>			
			</span>
			$vbphrase[private_messages_in_folder]<span class="normal">: <span id="nav_pmfolders.messagelist">$foldername<script type="text/javascript"> vbmenu_register("nav_pmfolders.messagelist"); </script></span></span>			
		</td>
	</tr>
</thead>
$messagelist_periodgroups
<tbody>
	<tr>
		<td class="tfoot" align="$stylevar[right]" colspan="4">			
			<div class="smallfont">
				$vbphrase[selected_messages]:
				<select name="dowhat">
					<if condition="$show['movetofolder']"><option value="move">$vbphrase[move_to_folder]...</option></if>
					<option value="delete">$vbphrase[delete]</option>
					<option value="read">$vbphrase[mark_as_read]</option>
					<option value="unread">$vbphrase[mark_as_unread]</option>
					<option value="xml">$vbphrase[download_as_xml]</option>
					<option value="csv">$vbphrase[download_as_csv]</option>
					<option value="txt">$vbphrase[download_as_text]</option>
				</select>
				<input type="submit" class="button" value="$vbphrase[go]" />
			</div>		
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

</if>

<br />

<!-- forumjump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
	<td width="100%" rowspan="2">
		<table cellpadding="2" cellspacing="0" border="0">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_new.gif" alt="$vbphrase[unread_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[unread_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_old.gif" alt="$vbphrase[read_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[read_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_replied.gif" alt="$vbphrase[repliedto_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[repliedto_message]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/pm_forwarded.gif" alt="$vbphrase[forwarded_message]" border="0" /></td>
			<td class="smallfont">&nbsp; $vbphrase[forwarded_message]</td>
		</tr>
		</table>
	</td>
	<td class="smallfont" nowrap="nowrap">
		<strong>$vbphrase[download_all_private_messages_as]</strong>:<br />
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=xml">$vbphrase[xml]</a> |
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=csv">$vbphrase[csv]</a> |
		<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=txt">$vbphrase[text]</a>
	</td>
</tr>
<tr>
	<td valign="bottom">$forumjump</td>
</tr>
</table>
<!-- / forumjump -->]]></template>
		<template name="pm_movepm" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="private.php?do=movepm" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="movepm"  />
<input type="hidden" name="messageids" value="$messageids" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[move_private_messages]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
			<fieldset class="fieldset">
				<legend><phrase 1="$totalmessages" 2="$fromfolder">$vbphrase[move_x_items_from_y]</phrase></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[select_destination_folder_for_move]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[folder_name]:<br />
						<select name="folderid">$folderoptions</select>
					</td>
				</tr>
				</table>
			</fieldset>
			
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[move_items]" accesskey="s" />
		<input type="button" class="button" value="$vbphrase[cancel]" accesskey="c" onclick="history.back(1)" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="pm_newpm" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>

$postpreview

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[post_new_private_message]</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">
		
		<!-- recipients field -->
		<fieldset class="fieldset">
			<legend>$vbphrase[recipients]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>
					<if condition="$show['popups']">
					<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
					</if>
					<div>$vbphrase[recipient_usernames]</div>
					<div id="pmrecips"><textarea id="pmrecips_txt" name="recipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm[recipients]</textarea></div>
					<if condition="$show['popups']">
						<div class="vbmenu_popup" id="pmrecips_menu" style="display:none; z-index:50"></div>
						<script type="text/javascript">
						<!--
						vbmenu_register('pmrecips', true);
						recip_sugg = new vB_AJAX_NameSuggest('recip_sugg', 'pmrecips_txt', 'pmrecips');
						recip_sugg.allow_multiple = true;
						//-->
						</script>
					</if>
					<span style="display:none" onclick="return swapbcc(this);" id="bccspan1">[<a href="#">$vbphrase[bcc]</a>]</span>
					<span id="bccspan2">$vbphrase[bcc] $vbphrase[recipient_usernames]<br /></span>
					<div id="bccpmrecips"><textarea id="bccpmrecips_txt" name="bccrecipients" rows="<if condition="is_browser('mozilla')">1<else />2</if>" cols="50" tabindex="1">$pm[bccrecipients]</textarea></div>
					<if condition="$show['popups']">
						<div class="vbmenu_popup" id="bccpmrecips_menu" style="display:none; z-index:50"></div>
						<script type="text/javascript">
						<!--
						vbmenu_register('bccpmrecips', true);
						bccrecip_sugg = new vB_AJAX_NameSuggest('bccrecip_sugg', 'bccpmrecips_txt', 'bccpmrecips');
						bccrecip_sugg.allow_multiple = true;
						<if condition="$show['bcclink']">
						fetch_object('bccpmrecips').style.display = 'none';
						fetch_object('bccspan2').style.display = 'none';
						fetch_object('bccspan1').style.display = '';
						function swapbcc(obj)
						{
							obj.style.display = 'none';
							fetch_object('bccpmrecips').style.display = '';
							fetch_object('bccspan2').style.display = '';
							return false;
						}
						</if>
						//-->
						</script>
					</if>
				</td>
			</tr>
			<tr>
				<td>
					<if condition="$show['sendmax']"><div><phrase 1="$permissions[pmsendmax]">$vbphrase[may_send_to_x_people]</phrase></div></if>
					<div>$vbphrase[separate_multiple_names]</div>
				</td>
			</tr>
			</table>
		</fieldset>
		<!-- / recipients field -->
		
		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="title" value="$pm[title]" size="50" maxlength="85" tabindex="1" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->
			
		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->
		
		$posticons
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="insertpm" />
		<input type="hidden" name="pmid" value="$pm[pmid]" />
		<input type="hidden" name="forward" value="$pm[forward]" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_message]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
 			<a name="options" style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
 			$vbphrase[additional_options]
 		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">
				
				<if condition="$show['receivepmbuddies']">
				<fieldset class="fieldset">
					<legend>$vbphrase[pm_non_contacts_heading]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td><phrase 1="$session[sessionurl]">$vbphrase[pm_non_contact_option_description]</phrase></td>
					</tr>
					<tr>
						<td><label for="cb_anyway"><input type="checkbox" name="sendanyway" id="cb_anyway" value="1" $anywaychecked />$vbphrase[pm_non_contact_option]</label></td>
					</tr>
					</table>
				</fieldset>
				</if>
							
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['trackpm']"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" $checked[receipt] />$vbphrase[request_receipt_for_message]</label></div></if>
						<div><label for="cb_savecopy"><input type="checkbox" name="savecopy" value="1" id="cb_savecopy" tabindex="1" $checked[savecopy] /><phrase 1="private.php?$session[sessionurl]folderid=-1">$vbphrase[save_copy_in_sent_items_folder]</phrase></label></div>
						<if condition="$bbuserinfo['signature']"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />

$forumrules]]></template>
		<template name="pm_popup_script" templatetype="template" date="1199117629" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<style type="text/css">

#fadeinbox{
position:absolute;
width: 400px;
left: 0;
top: -400px;
padding: 4px;
z-index: 100;
visibility:hidden;
}

</style>

<script type="text/javascript">

//Specify display mode. 3 possible values are:
//1) "always"- This makes the fade-in box load each time the page is displayed
//2) "oncepersession"- This uses cookies to display the fade-in box only once per browser session
//3) integer (ie: 5)- Finally, you can specify an integer to display the box randomly via a frequency of 1/integer...
// For example, 2 would display the box about (1/2) 50% of the time the page loads.

var displaymode="always"

var enablefade="yes" //("yes" to enable fade in effect, "no" to disable)
var autohidebox=["yes", 60] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds]
var showonscroll="yes" //Should box remain visible even when user scrolls page? ("yes"/"no)
var IEfadelength=1 //fade in duration for IE, in seconds
var Mozfadedegree=0.05 //fade in degree for NS6+ (number between 0 and 1. Recommended max: 0.2)

////////No need to edit beyond here///////////

if (parseInt(displaymode)!=NaN)
var random_num=Math.floor(Math.random()*displaymode)

function displayfadeinbox(){
var ie=document.all && !window.opera
var dom=document.getElementById
iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
objref=(dom)? document.getElementById("fadeinbox") : document.all.fadeinbox
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
var docwidth=(ie)? iebody.clientWidth : window.innerWidth
docheight=(ie)? iebody.clientHeight: window.innerHeight
var objwidth=objref.offsetWidth
objheight=objref.offsetHeight
objref.style.left=docwidth/2-objwidth/2+"px"
objref.style.top=scroll_top+docheight/2-objheight/2+"px"

if (showonscroll=="yes")
showonscrollvar=setInterval("staticfadebox()", 50)

if (enablefade=="yes" && objref.filters){
objref.filters[0].duration=IEfadelength
objref.filters[0].Apply()
objref.filters[0].Play()
}
objref.style.visibility="visible"
if (objref.style.MozOpacity){
if (enablefade=="yes")
mozfadevar=setInterval("mozfadefx()", 90)
else{
objref.style.MozOpacity=1
controlledhidebox()
}
}
else
controlledhidebox()
}

function mozfadefx(){
if (parseFloat(objref.style.MozOpacity)<1)
objref.style.MozOpacity=parseFloat(objref.style.MozOpacity)+Mozfadedegree
else{
clearInterval(mozfadevar)
controlledhidebox()
}
}

function staticfadebox(){
var ie=document.all && !window.opera
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
objref.style.top=scroll_top+docheight/2-objheight/2+"px"
}

function hidefadebox(){
objref.style.visibility="hidden"
if (typeof showonscrollvar!="undefined")
clearInterval(showonscrollvar)
}

function controlledhidebox(){
if (autohidebox[0]=="yes"){
var delayvar=(enablefade=="yes" && objref.filters)? (autohidebox[1]+objref.filters[0].duration)*1000 : autohidebox[1]*1000
setTimeout("hidefadebox()", delayvar)
}
}

function initfunction(){
setTimeout("displayfadeinbox()", 1)
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}


if (displaymode=="oncepersession" && get_cookie("fadedin")=="" || displaymode=="always" || parseInt(displaymode)!=NaN && random_num==0){
if (window.addEventListener)
window.addEventListener("load", initfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", initfunction)
else if (document.getElementById)
window.onload=initfunction
document.cookie="fadedin=yes"
}


</script>

<DIV id="fadeinbox" onclick="hidefadebox();return false" style="filter:progid:DXImageTransform.Microsoft.RandomDissolve(duration=1) progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135) ; -moz-opacity:0">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
		<tr>
			<td class="tcat" align="center">
				<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="hidefadebox();return false">إغلاق</a></span>
					يوجد لك رسالة خاصة جديدة
			</td>
		</tr>
		<tr>
			<td class="panelsurround" align="center">
				<div class="panel">
					<div align="$stylevar[center]">
						<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
							<tr>
		<td align="center">
									الرسالة الخاصة من $newpm[fromusername], بعنوان '$newpm[title]'
									<br />
								</td>
							</tr>
							<tr>
								<td align="center">
									<br /><br />
									<a href="#" onclick='window.open("private.php?do=showpm&pmid=$newpm[pmid]", "pmbox");expandit("pm_popup");window.focus("pmbox");' >عرض الرسالة</a>
									<br /><br />
									<a href="#"  onclick='window.open("private.php", "pmbox");expandit("pm_popup");window.focus("pmbox");' >عرض الرسائل الواردة</a><br><br>
								</td>
							</tr>
						</table>
					</div>
				</div>


				<div style="margin-top:$stylevar[cellpadding]px">
					<form><input type="button" class="button" value="إغلاق" onclick="hidefadebox();return false" /></form>
				</div>
			</td>
		</tr>
	</table>

<br>
<align="center" valign="middle">
</DIV>
]]></template>
		<template name="pm_receipts" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="private.php?do=deletepmreceipt" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="deletepmreceipt" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="4">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('$tableid')"><img id="collapseimg_$tableid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_tableid}.gif" alt="" border="0" /></a>
			$tabletitle <span class="normal">($numreceipts)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_$tableid" style="{$collapseobj_tableid}">
<tr>
	<td class="thead" width="60%">$vbphrase[message]</td>
	<td class="thead" width="20%">$vbphrase[sent_date]</td>
	<td class="thead" width="20%">$vbphrase[read_date]</td>
	<td class="thead" align="center"><input type="checkbox" name="allbox" onclick="checkall(this.form);" title="$vbphrase[check_uncheck_all]" /></td>
</tr>
$receiptbits
<tr>
	<td class="thead" colspan="4" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[delete_selected]" /></td>
</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />]]></template>
		<template name="pm_showpm" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$show['receiptprompt']">
<script type="text/javascript">
<!--
<if condition="$show['receiptpopup']">
if (window.attachEvent)
{
	window.attachEvent('onload', askReceipt);
}
else if(window.addEventListener)
{
	window.addEventListener('load', askReceipt, false);
}
function askReceipt()
{
	doReceipt(confirm("$receipt_question_js"));
}
</if>
function doReceipt(yesno)
{
	// do image method too to get around popup blockers
	var img_obj = new Image();
	img_obj.src = "private.php?$session[sessionurl]do=dopmreceipt&type=img&pmid=$pm[pmid]&confirm=" + (yesno ? 1 : 0);
	if (yesno)
	{
		fetch_object('receipt').style.display = 'none';
	}
}
// -->
</script>
</if>

<form action="private.php?do=managepm&amp;dowhat=delete&amp;pmid=$pm[pmid]" method="post">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" colspan="2">$vbphrase[private_message]<span class="normal">: $pm[title]</span></td>
</tr>
<if condition="$show['recipients']">
<tr>
	<td class="alt1"><if condition="$ccrecipients"><strong>$vbphrase[recipients]</strong>: $ccrecipients<br /></if><if condition="$bccrecipients"><strong>$vbphrase[recipients] <span class="smallfont">($vbphrase[bcc])</span></strong>: $bccrecipients</if></td>
</tr>
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$postbit

<br />

<if condition="$show['receiptprompt']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="receipt">
	<tr>
		<td class="thead"><strong>$vbphrase[confirm_outstanding_receipt]</strong></td>
	</tr>
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
				<table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td><phrase 1="$pm[username]">$vbphrase[x_requested_read_receipt]</phrase></td>
					<td><input type="button" class="button" style="font-weight:normal" value="$vbphrase[okay]" onclick="doReceipt(1);this.disabled=true;" /></td>
				</tr>
				</table>
			
			</div>
		</div>
		</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

	<br />
</if>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_delete')"><img id="collapseimg_pm_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_delete].gif" alt="" border="0" /></a>
			$vbphrase[delete_this_message]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_pm_delete" style="$vbcollapse[collapseobj_pm_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
			
			<fieldset class="fieldset">
				<legend>$vbphrase[delete_message]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[delete_message_click_button]</td>
				</tr>
				<tr>
					<td><label for="deletepm"><input type="checkbox" name="pm[$pm[pmid]]" id="deletepm" value="true" />$vbphrase[delete_this_message]</label></td>
				</tr>
				</table>
			</fieldset>
			
			</div>
		</div>
		
		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="managepm" />
			<input type="hidden" name="dowhat" value="delete" />
			<input type="hidden" name="folderid" value="$pm[folderid]" />
			<input type="submit" class="button" value="$vbphrase[delete_this_message]" accesskey="s" />
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="pm_trackpm" templatetype="template" date="1203004059" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<if condition="$show['receipts']">
$confirmedreceipts

$unconfirmedreceipts
<else />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		$vbphrase[message_tracking]
	</td>
</tr>
<tr>
	<td class="alt1" align="center">
		<br />
		$vbphrase[not_tracking_any_messages]
		<br />
		<br />
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>]]></template>
	</templategroup>
	<templategroup name="استفتاء/Poll">
		<template name="pollresults" templatetype="template" date="1198370503" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[view_poll_results] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

$pollresults

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="المشاركة/Postbit">
		<template name="postbit" templatetype="template" date="1203004060" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$template_hook[postbit_start]

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="thead" colspan="99" $post[scrolltothis]>
		<div class="normal" style="float:$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">مشاركة رقم : <a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
			<if condition="$show['inlinemod']">
			<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
			</if>
		</div>
		
		<div class="normal">
			<!-- status icon and date -->
			<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
			<if condition="!$show['announcement']">
				$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			<else />
				<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
			</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->
		</div>
	</td>
</tr><tr></tr><tr></tr>

<tr><td class="alt1" id="td_post_$post[postid]" valign="top">

<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>

<!-- بداية الموضوع يمين -->
<td class="alt4" align="center" valign="top" rowspan="2" width="210">

<div style="padding-left:17px; padding-right:6px; padding-top:5px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="alt3" align="center">

		<!-- user info -->

				<div id="postmenu_$post[postid]">
					<if condition="$show['profile']">
					<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
					<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
					<else />
					$post[musername]
					</if>
				</div>

						<if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>
			
				<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div><br /></if>
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div><br /></if>
				$template_hook[postbit_userinfo_left]

</td></tr>

<tr><td class="alt3" align="right">

				<div class="smallfont">
<!-- هاك عام ـ رقم العضوية -->
<div class="mwapost" style="padding:2px">
رقم العضوية : $post[userid]
</div>
<!-- هاك عام ـ رقم العضوية -->
					<if condition="$post['joindate']"><div class="mwapost" style="padding:2px">$vbphrase[join_date] : $post[joindate]</div></if>
					<if condition="$post['field2']"><div class="mwapost" style="padding:2px">$vbphrase[location_perm] : $post[field2]</div></if>
					<if condition="$post['age']"><div class="mwapost" style="padding:2px">$vbphrase[age] : $post[age]</div></if>
					<div class="mwapost" style="padding:2px">
						$vbphrase[posts] : $post[posts]
					</div>

<!-- هاك عام ـ بمعدل -->
<div class="mwapost" style="padding:2px">
بمعدل : $post[postsperday] يوميا
</div>
<!-- هاك عام ـ بمعدل -->
					$template_hook[postbit_userinfo_right_after_posts]
					<if condition="$show['infraction']"><div class="mwapost" style="padding:2px">$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
					<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="mwapost" style="padding:2px">$vbphrase[reppower] : <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span></div> </if><div class="mwapost" style="padding:2px"><span id="repdisplay_$post[postid]_$post[userid]">المستوى : $post[reputationdisplay]</span></div></if>
					$template_hook[postbit_userinfo_right]
					<div class="mwapost" style="padding:2px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
				</div>
		<!-- / user info -->

</td></tr></table></div><br />

					$post[onlinestatus]

<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="images/buttons/add_album.png" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->

			<if condition="$show['reputationlink']">
				<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
				<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
			</if>
			<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
			<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
			$post[iplogged]

<br /><br />
<img src="$stylevar[imgdir_misc]/mwa/post.gif" alt="" border="0" />
</td>
<!-- نهاية الموضوع يمين -->

<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
	<!-- message, attachments, sig -->
	
		$template_hook[postbit_messagearea_start]

<if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>

<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>

<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="arial" size="4"><b>
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</font></b></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->

		<!-- message -->
		<div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="4">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

<br />$post[message]<br /><br />

<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</center></font>
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

</div>
		<!-- / message -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">

<!-- المرفقات -->
		<if condition="$show['attachments']">
		<!-- attachments -->

			<div style="padding:$stylevar[cellpadding]px">
			
			<if condition="$show['otherattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_files] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[otherattachments]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			<if condition="$show['moderatedattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attachments_pending_approval] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[moderatedattachments]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>

			<if condition="$show['thumbnailattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_thumbnails] :</font>
					<div style="padding:$stylevar[formspacer]px">
					$post[thumbnailattachments]
					</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
		
			<if condition="$show['imageattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_images] :</font>
					<div style="padding:$stylevar[formspacer]px">
					$post[imageattachments]
					</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			<if condition="$show['imageattachmentlink']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_images] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[imageattachmentlinks]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			</div>

		<!-- / attachments -->
		</if>
<!-- المرفقات -->
		
		$template_hook[postbit_signature_start]

<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->

<br />

<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="center">
<!-- نهاية إطار علوي -->

<div><font color="#C30000">توقيع </font>$post[musername]<br /><br />
$post[signature]
</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

<!-- / sig -->
<br /></if>
<!-- التوقيع -->

		$template_hook[postbit_signature_end]

<!-- رسالة التعديل الأخير -->
		<if condition="$show['postedited']">
		<!-- edit note -->
<div align="center" style="padding:5px">
					<if condition="$post['editlink'] AND $show['postedithistory']">
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
					<else />
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
					</if>
					<if condition="$post['edit_reason']">
						$vbphrase[reason]: $post[edit_reason]
					</if>

		<!-- / edit note -->
		</div></if>
<!-- رسالة التعديل الأخير -->

	<!-- message, attachments, sig -->
	
		<div style="padding: 0px;" align="left">
			<!-- controls -->
			<if condition="$post['editlink']">
				<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
				<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
			</if>
			<if condition="$post['forwardlink']">
				<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
			</if>
			<if condition="$post['replylink']">
				<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
			</if>

<if condition="$show['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>

			<if condition="$show['multiquote_post']">
				<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
			</if>
			<if condition="$show['quickreply'] AND !$show['threadedmode']">
				<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
			</if>
			<if condition="$show['moderated']">
				<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
			</if>
			<if condition="$show['spam']">
				<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
			</if>
			<if condition="$show['deletedpost']">
				<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
			</if>
			<if condition="$show['redcard']">
				<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
			<else />
				<if condition="$show['yellowcard']">
					<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
				</if>
			</if>
			$template_hook[postbit_controls]
			<!-- / controls -->
		</div>

</td>
<!-- نهاية الموضوع يسار -->

</tr></table>
<!-- نهاية الموضوع يمين ويسار -->

</td></tr><tr></tr><tr></tr></table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<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_contacts]</phrase></a></td></tr>
	</if>

	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->]]></template>
		<template name="postbit_attachment" templatetype="template" date="1205526116" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<tr><td colspan="9">
<font color="#8D0000"><br />
تحذير : يتوجب عليك فحص الملفات للتأكد من خلوها من الفيروسات والمنتدى غير مسؤول عن أي ضرر ينتج عن إستخدام هذا المرفق .</font>
</td></tr>
<tr><td align="center" valign="middle" style="padding:10px" nowrap>

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>
<img class="inlineimg" src="$stylevar[imgdir_misc]/download.gif" border="0" style="vertical-align:absmiddle; cursor:hand" hspace="0" title="نقره لتحميل الملف">

<br>تحميل الملف
</a>

</td><td width="100%">

إسم الملف : <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a><br>

<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="" width="16" height="16" border="0" style="vertical-align:basmiddle" /><br>

حجم الملف : $attachment[filesize]<br>

<phrase 1=" : $attachment[counter]">$vbphrase[x_views]</phrase><br>

</td></tr>]]></template>
		<template name="postbit_legacy" templatetype="template" date="1203125457" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$template_hook[postbit_start]

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="thead" colspan="99" $post[scrolltothis]>
		<div class="normal" style="float:$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">مشاركة رقم : <a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
			<if condition="$show['inlinemod']">
			<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
			</if>
		</div>
		
		<div class="normal">
			<!-- status icon and date -->
			<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
			<if condition="!$show['announcement']">
				$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			<else />
				<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
			</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->
		</div>
	</td>
</tr><tr></tr><tr></tr>

<tr><td class="alt1" id="td_post_$post[postid]" valign="top">

<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>

<!-- بداية الموضوع يمين -->
<td class="alt4" align="center" valign="top" rowspan="2" width="210">

<div style="padding-left:17px; padding-right:6px; padding-top:5px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="alt3" align="center">

		<!-- user info -->

				<div id="postmenu_$post[postid]">
					<if condition="$show['profile']">
					<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
					<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
					<else />
					$post[musername]
					</if>
				</div>

						<if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>
			
				<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div><br /></if>
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div><br /></if>
				$template_hook[postbit_userinfo_left]

</td></tr>

<tr><td class="alt3" align="right">

				<div class="smallfont">
<!-- هاك عام ـ رقم العضوية -->
<div class="mwapost" style="padding:2px">
رقم العضوية : $post[userid]
</div>
<!-- هاك عام ـ رقم العضوية -->
					<if condition="$post['joindate']"><div class="mwapost" style="padding:2px">$vbphrase[join_date] : $post[joindate]</div></if>
					<if condition="$post['field2']"><div class="mwapost" style="padding:2px">$vbphrase[location_perm] : $post[field2]</div></if>
					<if condition="$post['age']"><div class="mwapost" style="padding:2px">$vbphrase[age] : $post[age]</div></if>
					<div class="mwapost" style="padding:2px">
						$vbphrase[posts] : $post[posts]
					</div>

<!-- هاك عام ـ بمعدل -->
<div class="mwapost" style="padding:2px">
بمعدل : $post[postsperday] يوميا
</div>
<!-- هاك عام ـ بمعدل -->
					$template_hook[postbit_userinfo_right_after_posts]
					<if condition="$show['infraction']"><div class="mwapost" style="padding:2px">$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
					<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="mwapost" style="padding:2px">$vbphrase[reppower] : <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span></div> </if><div class="mwapost" style="padding:2px"><span id="repdisplay_$post[postid]_$post[userid]">المستوى : $post[reputationdisplay]</span></div></if>
					$template_hook[postbit_userinfo_right]
					<div class="mwapost" style="padding:2px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
				</div>
		<!-- / user info -->

</td></tr></table></div><br />

					$post[onlinestatus]

<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="images/buttons/add_album.png" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->

			<if condition="$show['reputationlink']">
				<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
				<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
			</if>
			<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
			<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
			$post[iplogged]

<br /><br />
<img src="$stylevar[imgdir_misc]/mwa/post.gif" alt="" border="0" />
</td>
<!-- نهاية الموضوع يمين -->

<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
	<!-- message, attachments, sig -->
	
		$template_hook[postbit_messagearea_start]

<if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>

<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>

<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="arial" size="4"><b>
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</font></b></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->

		<!-- message -->
		<div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="4">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

<br />$post[message]<br /><br />

<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</center></font>
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->

</div>
		<!-- / message -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">

<!-- المرفقات -->
		<if condition="$show['attachments']">
		<!-- attachments -->

			<div style="padding:$stylevar[cellpadding]px">
			
			<if condition="$show['otherattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_files] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[otherattachments]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			<if condition="$show['moderatedattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attachments_pending_approval] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[moderatedattachments]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>

			<if condition="$show['thumbnailattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_thumbnails] :</font>
					<div style="padding:$stylevar[formspacer]px">
					$post[thumbnailattachments]
					</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
		
			<if condition="$show['imageattachment']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_images] :</font>
					<div style="padding:$stylevar[formspacer]px">
					$post[imageattachments]
					</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			<if condition="$show['imageattachmentlink']">

<br />
<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="right">
<!-- نهاية إطار علوي -->

			<font color="#C30000">$vbphrase[attached_images] :</font>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[imageattachmentlinks]
					</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

			</if>
			
			</div>

		<!-- / attachments -->
		</if>
<!-- المرفقات -->
		
		$template_hook[postbit_signature_start]

<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->

<br />

<!-- بداية إطار علوي -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/tr21.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/t21.gif" style="padding-top:0px">

</td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/tl21.gif"></td></tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/r21.gif) repeat-y right;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/r21.gif">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/c1.gif" align="center">
<!-- نهاية إطار علوي -->

<div><font color="#C30000">توقيع </font>$post[musername]<br /><br />
$post[signature]
</div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/quotes/l21.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/quotes/l21.gif">
</td></tr></table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/quotes/br21.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/quotes/b21.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/quotes/bl21.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي -->

<!-- / sig -->
<br /></if>
<!-- التوقيع -->

		$template_hook[postbit_signature_end]

<!-- رسالة التعديل الأخير -->
		<if condition="$show['postedited']">
		<!-- edit note -->
<div align="center" style="padding:5px">
					<if condition="$post['editlink'] AND $show['postedithistory']">
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
					<else />
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
					</if>
					<if condition="$post['edit_reason']">
						$vbphrase[reason]: $post[edit_reason]
					</if>

		<!-- / edit note -->
		</div></if>
<!-- رسالة التعديل الأخير -->

	<!-- message, attachments, sig -->
	
		<div style="padding: 0px;" align="left">
			<!-- controls -->
			<if condition="$post['editlink']">
				<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
				<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
			</if>
			<if condition="$post['forwardlink']">
				<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
			</if>
			<if condition="$post['replylink']">
				<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
			</if>

<if condition="$show['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>

			<if condition="$show['multiquote_post']">
				<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
			</if>
			<if condition="$show['quickreply'] AND !$show['threadedmode']">
				<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
			</if>
			<if condition="$show['moderated']">
				<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
			</if>
			<if condition="$show['spam']">
				<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
			</if>
			<if condition="$show['deletedpost']">
				<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
			</if>
			<if condition="$show['redcard']">
				<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
			<else />
				<if condition="$show['yellowcard']">
					<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
				</if>
			</if>
			$template_hook[postbit_controls]
			<!-- / controls -->
		</div>

</td>
<!-- نهاية الموضوع يسار -->

</tr></table>
<!-- نهاية الموضوع يمين ويسار -->

</td></tr><tr></tr><tr></tr></table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<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_contacts]</phrase></a></td></tr>
	</if>

	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->]]></template>
	</templategroup>
	<templategroup name="أيقونة المشاركة">
		<template name="posticons" templatetype="template" date="1198455166" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$show['posticons']">
	<script type="text/javascript">
	<!--
	function swap_posticon(imgid)
	{
		var out = fetch_object("display_posticon");
		var img = fetch_object(imgid);
		if (img)
		{
			out.src = img.src;
			out.alt = img.alt;
		}
		else
		{
			out.src = "$vboptions[cleargifurl]";
			out.alt = "";
		}
	}
	// -->
	</script>
		<div style="padding:$stylevar[formspacer]px">
			<table class="alt2" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
			<tr>
				<td class="thead" colspan="15"><div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[may_choose_icon_for_message]:</div></td>
			</tr>
			<tr>
				<td class="alt1" width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] &nbsp; &nbsp;</label></td>
				$posticonbits
				<if condition="$show['addedspan']"><td class="alt1" colspan="$remainingspan">&nbsp;</td></if>
			</tr>
			</table>
		</div>
<else />
	<input type="hidden" name="iconid" value="0" />
</if>]]></template>
	</templategroup>
	<templategroup name="موضوع قابل للطباعة">
		<template name="printthread" templatetype="template" date="1198370523" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<title>$threadinfo[prefix_plain_html] $threadinfo[title] - $vboptions[bbtitle]</title>
<style type="text/css">
<!--
td, p, li, div
{
	font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
	font-size: 11px;
}
.tborder
{
	border: 1px solid #808080;
}
.thead
{
	background-color: #EEEEEE;
}
.page
{
	background-color: #FFFFFF;
	color: #000000;
}
-->
</style>
</head>
<body class="page">

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="bottom">
	<td><a href="$vboptions[bburl]/"><img src="$stylevar[titleimage]" alt="$vboptions[bbtitle]" border="0" /></a></td>
	<td align="$stylevar[right]">
		<div class="smallfont">$pagenav</div>
		<if condition="$show['pagenav']">
		<div class="smallfont"><a href="printthread.php?$session[sessionurl]t=$threadid&amp;pp=$maxperpage"><phrase 1="$maxperpage">$vbphrase[show_x_posts_on_one_page]</phrase></a></div>
		</if>
	</td>
</tr>
</table>

<br />

<div>
	<a href="$vboptions[bburl]/$vboptions[forumhome].php" accesskey="1"><strong>$vboptions[bbtitle]</strong></a>
	(<span class="smallfont"><em>$vboptions[bburl]/$vboptions[forumhome].php</em></span>)
</div>
<div>
	- &nbsp; <a href="forumdisplay.php?f=$foruminfo[forumid]"><strong>$foruminfo[title]</strong></a>
	(<span class="smallfont"><em>$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]</em></span>)
</div>
<div>
	- &nbsp; - &nbsp; $threadinfo[prefix_rich] <a href="showthread.php?t=$threadid" accesskey="3"><strong>$threadinfo[title]</strong></a>
	(<span class="smallfont"><em>$vboptions[bburl]/showthread.php?t=$threadid</em></span>)
</div>

<br />

$postbits

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
	<td class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</td>
	<td align="$stylevar[right]">
		<div class="smallfont">$pagenav</div>
		<if condition="$show['pagenav']">
		<div class="smallfont"><a href="printthread.php?$session[sessionurl]t=$threadid&amp;pp=$maxperpage"><phrase 1="$maxperpage">$vbphrase[show_x_posts_on_one_page]</phrase></a></div>
		</if>
	</td>
</tr>
</table>

<p class="smallfont" align="center">
	$vbphrase[powered_by_vbulletin]
	<br />
	$vboptions[copyrighttext]
</p>

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="محرر الأعضاء">
		<template name="que_mreplaceo" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$show['loggedinuser']">
<a style="float:$stylevar[right]" href="que.php?$session[sessionurl]do=edit&userid=$userinfo[userid]" target="_blank">&nbsp;&nbsp;<img src="images/misc/que.gif" align="absmiddle" border="0" title="تعديل بيانات $userinfo[username]"></a></if>]]></template>
	</templategroup>
	<templategroup name="التسجيل">
		<template name="register" templatetype="template" date="1198370547" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title><if condition="$show['coppa']">$vbphrase[coppa] </if>$vbphrase[registration] - $vboptions[bbtitle]</title>
</head>
<body>

$header

<br />

<if condition="$show['coppa']">
	<div>$vbphrase[until_receive_signed_form]</div>
</if>

<if condition="$show['errors']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat">$vbphrase[errors_occurred_during_registration]</td>
	</tr>
	<tr>
		<td class="alt1"><ul>$errorlist</ul></td>
	</tr>
	</table>
	<br />
</if>

<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
	// do various checks, this will save people noticing mistakes on next page
	if (password1.value == '' || password2.value == '')
	{
		alert('$vbphrase[fill_out_both_password_fields]');
		return false;
	}
	else if (password1.value != password2.value)
	{
		alert('$vbphrase[entered_passwords_do_not_match]');
		return false;
	}
	else
	{
		<if condition="$show['coppa']">
		pass_copy = password1.value;
		passconfirm_copy = password2.value;
		</if>

		var junk_output;
		
		md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
		md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);
		
		<if condition="$show['coppa']">
		document.forms.register.password.value = pass_copy;
		document.forms.register.passwordconfirm.value = passconfirm_copy;
		</if>
		
		return true;
	}
	return false;
}
</script>

<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="$agree" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
<if condition="!$show['birthday']">
	<input type="hidden" name="day" value="$day" />
	<input type="hidden" name="month" value="$month" />
	<input type="hidden" name="year" value="$year" />
</if>
<if condition="$show['coppa']">
	<input type="hidden" name="coppauser" value="1" />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[register_at_x]</phrase></td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
				<phrase 1="$vboptions[bbtitle]">$vbphrase[to_post_must_first_register]</phrase>
			</div>
			
			<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
				<strong>$vbphrase[username]</strong>:<br />
				<input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" />
			</div>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[password]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
				<tr>
					<td colspan="2">$vbphrase[enter_password_for_account]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[password]:<br />
						<input type="password" class="bginput" name="password" size="25" maxlength="50" value="$password" />
					</td>
					<td>
						$vbphrase[confirm_password]:<br />
						<input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="50" value="$passwordconfirm" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[email_address]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
				<tr>
					<td colspan="2">$vbphrase[enter_valid_email_address]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[email_address]:<br />
						<input type="text" class="bginput" name="email" size="25" maxlength="50" value="$email" dir="ltr" />
					</td>
					<td>
						$vbphrase[confirm_email_address]:<br />
						<input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirm" dir="ltr" />
					</td>
				</tr>
				<if condition="$show['coppa']">
				<tr>
					<td>$vbphrase[if_under_13_provide_parent]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[parent_guardian_email]:<br />
						<input type="text" class="bginput" name="parentemail" size="25" maxlength="50" value="$parentemail" dir="ltr" />
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			
			$human_verify
			
		</div>
	</div>
	</td>
</tr>
</table>
<br />

<if condition="$show['customfields_profile']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[additional_required_information_profile]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			$customfields_profile
			
			<if condition="$show['birthday']">$birthdayfields</if>
		
		</div>
	</div>
	</td>
</tr>
</table>
<br />
</if>

<if condition="$show['customfields_option']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[additional_required_information_option]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			$customfields_option
		
		</div>
	</div>
	</td>
</tr>
</table>
<br />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[additional_information]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<if condition="$show['referrer']">
			<fieldset class="fieldset">
				<legend>$vbphrase[referrer]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
				</tr>
				<tr>
					<td>
						$vbphrase[referrer]:<br />
						<div id="referrerfield"><input id="referrerfield_txt" type="text" class="bginput" name="referrername" value="$referrername" size="50" maxlength="$vboptions[maxuserlength]" /></div>
						<if condition="$show['popups']">
							<div id="referrerfield_menu" class="vbmenu_popup" style="display:none; z-index:50"></div>
							<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
							<script type="text/javascript">
							<!--
								vbmenu_register('referrerfield', true);
								rnc = new vB_AJAX_NameSuggest('rnc', 'referrerfield_txt', 'referrerfield');
								rnc.allow_multiple = false;
							//-->
							</script>
						</if>
					</td>
				</tr>
				</table>
			</fieldset>
			</if>
		
			$timezoneoptions
			
			<fieldset class="fieldset">
				<legend>$vbphrase[receive_email]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>
						$vbphrase[administrators_may_send_email]
					</td>
				</tr>
				<tr>
					<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checkedoff[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label></td>
				</tr>
				<if condition="$show['email']">
				<tr>
					<td>$vbphrase[allow_members_send_you_email]</td>
				</tr>
				<tr>
					<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checkedoff[showemail] />$vbphrase[receive_email_from_other_members]</label></td>
				</tr>
				</if>
				</table>
			</fieldset>

			
			$customfields_other
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[complete_registration]" accesskey="s" />
		<input type="reset" class="button" name="Reset" value="$vbphrase[reset_fields]" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="البحث">
		<template name="search_forums" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title><if condition="$show['searchthread']">$vbphrase[search_thread]<else />$vbphrase[search_forums] - </if>$vboptions[bbtitle]</title>
$tag_cloud_headinclude
</head>

<body>
$header
$navbar

<if condition="$show['errors']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
			$vbphrase[errors_occured_with_search]:
	</td>
</tr>
<tr>
	<td class="alt1">
			<ol>$errorlist</ol>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
</if>

<form action="search.php?do=process" method="post" name="vbform" id="searchform" style="display:block; margin:0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$searchthreadid" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['searchthread']">$vbphrase[search_thread] - <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a><else />$vbphrase[search_forums]</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
		
	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr>
		<td align="$stylevar[left]" valign="top" width="50%">
			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_by_key_word]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td colspan="2">
						<div>$vbphrase[key_words]:</div>
						<div><input type="text" class="bginput" name="query" size="35" value="$query" style="width:250px" /></div>
					</td>
				</tr>
				<if condition="!$show['searchthread']">
				<tr>
					<td>		
						<select name="titleonly">
							<option value="0" $titleonlyselected[0]>$vbphrase[search_entire_posts]</option>
							<option value="1" $titleonlyselected[1]>$vbphrase[search_titles_only]</option>
						</select><if condition="$show['nocache']"> <label for="cb_nocache"><input type="checkbox" name="nocache" value="1" id="cb_nocache" />$vbphrase[do_not_use_cached_results]</label></if>
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
		</td>
		<td align="$stylevar[left]" valign="top" width="50%">					
			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_by_user_name]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td colspan="2">
						<div>$vbphrase[username]:</div>
						<div id="userfield">
							<input type="text" class="bginput" name="searchuser" id="userfield_txt" size="35"  value="$searchuser" style="width:250px" autocomplete="off" />
						</div>
						<if condition="$show['searchthread']">
							<div>
								<label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label>
							</div>
						</if>
						<if condition="$show['popups']">
							<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
							<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
							<script type="text/javascript">
							<!--
							vbmenu_register('userfield', true);
							snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
							//-->
							</script>
						</if>
					</td>
				</tr>
				<if condition="!$show['searchthread']">
				<tr>
					<td>
						<select name="starteronly">
							<option value="0" $starteronlyselected[0]>$vbphrase[find_posts_by_user]</option>
							<option value="1" $starteronlyselected[1]>$vbphrase[find_threads_started_by_user]</option>
						</select>
					</td>
					<td><label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label></td>
				</tr>
				</if>
				</table>
			</fieldset>
		
		</td>
	</tr>
	<if condition="$human_verify">
	<tr>
		<td align="$stylevar[left]" valign="top" colspan="2">$human_verify</td>
	</tr>
	</if>
	</table>
	
	<div align="$stylevar[left]">
	
	<div class="thead" style="padding:$stylevar[cellpadding]px">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_adv')"><img id="collapseimg_search_adv" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_search_adv].gif" alt="" border="0" /></a>
		$vbphrase[search_options]
	</div>
	
	<div id="collapseobj_search_adv" style="$vbcollapse[collapseobj_search_adv]">
	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
	<tr valign="top">
		<td width="50%">
			<if condition="!$show['searchthread']">
			<if condition="$prefix_options">
			<fieldset class="fieldset">
				<legend>$vbphrase[find_threads_with_prefix]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<select style="width:100%" name="prefixchoice[]" size="5" multiple="multiple">
							<option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
							<option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
							$prefix_options
						</select>
					</div>
				</div>
			</fieldset>
			</if>

			<fieldset class="fieldset">
				<legend>$vbphrase[find_threads_with]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<select name="replyless" style="width:150px">
						<option value="0" $replylessselected[0]>$vbphrase[at_least]</option>
						<option value="1" $replylessselected[1]>$vbphrase[at_most]</option>
					</select>
					<input type="text" class="bginput" style="font-size:11px" name="replylimit" size="3" value="$replylimit" /> $vbphrase[replies]
				</div>
			</fieldset>
			</if>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[find_posts_from]</legend>
				<div style="padding:$stylevar[formspacer]px">					
					<select name="searchdate" style="width:150px">
						<option value="0" $searchdateselected[0]>$vbphrase[any_date]</option>
						<option value="lastvisit" $searchdateselected[lastvisit]>$vbphrase[your_last_visit]</option>
						<option value="1" $searchdateselected[1]>$vbphrase[yesterday]</option>
						<option value="7" $searchdateselected[7]>$vbphrase[a_week_ago]</option>
						<option value="14" $searchdateselected[14]><phrase 1="2">$vbphrase[x_weeks_ago]</phrase></option>
						<option value="30" $searchdateselected[30]>$vbphrase[a_month_ago]</option>
						<option value="90" $searchdateselected[90]><phrase 1="3">$vbphrase[x_months_ago]</phrase></option>
						<option value="180" $searchdateselected[180]><phrase 1="6">$vbphrase[x_months_ago]</phrase></option>
						<option value="365" $searchdateselected[365]>$vbphrase[a_year_ago]</option>
					</select>
					<select name="beforeafter">
						<option value="after" $beforeafterselected[after]>$vbphrase[and_newer]</option>
						<option value="before" $beforeafterselected[before]>$vbphrase[and_older]</option>
					</select>
				</div>
			</fieldset>
			
			<if condition="!$show['searchthread']">
			<fieldset class="fieldset">						
				<legend>$vbphrase[sort_results_by]</legend>
				<div style="padding:$stylevar[formspacer]px">								
					<select name="sortby" style="width:150px">
						<option value="rank" $sortbyselected[rank]>$vbphrase[relevancy]</option>
						<option value="title" $sortbyselected[title]>$vbphrase[title]</option>
						<option value="replycount" $sortbyselected[replycount]>$vbphrase[number_of_replies]</option>
						<option value="views" $sortbyselected[views]>$vbphrase[number_of_views]</option>
						<option value="threadstart" $sortbyselected[threadstart]>$vbphrase[thread_start_date]</option>
						<option value="lastpost" $sortbyselected[lastpost]>$vbphrase[last_posting_date]</option>
						<option value="postusername" $sortbyselected[postusername]>$vbphrase[username]</option>
						<option value="forum" $sortbyselected[forum]>$vbphrase[forum]</option>
					</select>
					<select name="order">
						<option value="descending" $sortorderselected[descending]>$vbphrase[in_descending_order]</option>
						<option value="ascending" $sortorderselected[ascending]>$vbphrase[in_ascending_order]</option>
					</select>
				</div>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[show_results_as]</legend>
				<div style="padding:$stylevar[formspacer]px">
					$vbphrase[show_results_as]
					<label for="rb_showposts_0"><input type="radio" name="showposts" value="0" id="rb_showposts_0" $showpostschecked[0] />$vbphrase[threads]</label>
					<label for="rb_showposts_1"><input type="radio" name="showposts" value="1" id="rb_showposts_1" $showpostschecked[1] />$vbphrase[posts]</label>
				</div>
			</fieldset>
			</if>
		</td>
		<if condition="!$show['searchthread']">
		<td width="50%">
			<if condition="$show['tag_option']">
			<fieldset class="fieldset">
				<legend>$vbphrase[search_by_tag]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>$vbphrase[tag]:</div>
					<div id="tag_add"><input type="text" class="bginput" name="tag" id="tag_add_input" size="35" value="$formdata[tag]" style="width:250px" autocomplete="off" /></div>
					
					<if condition="$show['popups']">
						<div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
						<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
						<script type="text/javascript">
						<!--
						vbmenu_register('tag_add', true);
						tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp', 'tag_add_input', 'tag_add');
						//-->
						</script>
					</if>
				</div>
			</fieldset>
			</if>
			
			<fieldset class="fieldset" style="margin:0px">
				<legend>$vbphrase[search_in_forums]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<select style="width:100%" name="forumchoice[]" size="13" multiple="multiple">
							<option value="0" $noforumselected>$vbphrase[search_all_open_forums]</option>
							<option value="subscribed">$vbphrase[search_subscribed_forums]</option>
							$searchforumbits
						</select>
					</div>
					<div><label for="cb_childforums"><input type="checkbox" name="childforums" value="1" id="cb_childforums" $childforumschecked[1] />$vbphrase[also_search_in_child_forums]</label></div>
					<if condition="$show['cantsearchposts']">$vbphrase[you_can_only_search_thread_titles]</if>
				</div>
			</fieldset>
		</td>
		</if>
	</tr>
	</table>
	</div>
	
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" name="dosearch" value="$vbphrase[search_now]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" onclick="window.location='search.php?$session[sessionurl]type=advanced';" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['member']">
	<div align="center" style="margin-top:20px">
		<select name="saveprefs">
			<option value="1" selected="selected">$vbphrase[save_search_preferences]</option>
			<option value="0">$vbphrase[clear_search_preferences]</option>
		</select>
		<input type="submit" class="button" name="doprefs" value="$vbphrase[go]" id="save_searchprefs" />
		<input type="image" src="$vboptions[cleargifurl]" width="1" height="1" />
		<script type="text/javascript" src="clientscript/vbulletin_ajax_search.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">

		<!--
		vB_AJAX_SearchPrefs_Init('save_searchprefs');
		//-->

		</script>	
	</div>
</if>

</form>

<if condition="$tag_cloud">
	<div style="margin-top:20px">$tag_cloud</div>
</if>

$footer

</body>
</html>]]></template>
		<template name="search_results" templatetype="template" date="1205568151" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[search_results] - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar
<if condition="$colspan_increment OR $threadcolspan++"></if>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tr>
	<td class="tcat" colspan="$threadcolspan" style="font-weight:normal">
	
		<if condition="$show['inlinemod'] AND $search['showposts']"><input name="allbox" style="margin: 0px 0px 0px 5px; padding: 0px; float: $stylevar[right]; vertical-align: middle;" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all();" type="checkbox" /></if>
		<span class="smallfont" style="float:$stylevar[right]">
			<if condition="$show['results']">
			<phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
			<br />
			</if>
			<if condition="$show['generated']">
			<phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
			<else />
			<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
			</if>
		</span>
		
		<a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
		<span class="smallfont">
		<if condition="$action == 'process'">
			<if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
			<if condition="$displayWords AND $displayUsers">; </if>
			<if condition="$displayUsers">
				<if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
			</if>
			<if condition="$display_tag">
				<if condition="$displayWords OR $displayUsers">; </if>
				$vbphrase[tag]: $display_tag
			</if>
		<else /><if condition="$action == 'getnew'">
			$vbphrase[new_posts_nav]
		<else /><if condition="$action == 'getdaily'">
			$vbphrase[posts_from_last_day]
		<else />
			$vbphrase[tag]: $display_tag
		</if></if></if>
		
		<if condition="$displayForums">
			; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
		</if>
		<if condition="$display_prefixes">
			; $vbphrase[prefix]: $display_prefixes <if condition="$show['no_prefix']">$vbphrase[or_no_prefix]</if>
		</if>
		<if condition="$show['titleonlysearch']">
			<br /><strong><phrase 1="$titlesearchurl">$vbphrase[thread_titles_only_search]</phrase></strong>
		</if>
		</span>
	</td>
</tr>

<if condition="$displayCommon">
<tr>
	<td class="thead" style="font-weight: normal" colspan="$threadcolspan">$vbphrase[words_very_common]: $displayCommon</td>
</tr>
</if>

<if condition="$search['showposts']">

</table>

$searchbits

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<else />
$announcebits
<tr>
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>	
	<td class="thead" width="75%">$vbphrase[thread] </td>
        <td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td>
	<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
	<td class="thead" width="25%">$vbphrase[forum]</td>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>


	</if>	
	
</tr>

<if condition="!$show['results']">
	<!-- show no threads message -->
	<tr>
		<td class="alt1" colspan="$threadcolspan" align="center">
			<div style="padding: 16px">
				<strong>$vbphrase[no_unread_threads]</strong>
			</div>
		</td>
	</tr>
	<!-- end show no threads message -->
<else />
$searchbits
</if>

<if condition="$show['ajax_js'] AND $show['results']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	var titlemaxchars = parseInt("$vboptions[titlemaxchars]");
	//-->
	</script>
</if>

</if>

<tr>
	<td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
		<if condition="$show['results']">
		<span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
		<else />
		&nbsp;
		</if>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>

<if condition="$show['inlinemod']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">
		<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
		<strong>$vbphrase[moderation]</strong><br />
		<if condition="!$search['showposts']">
			<select name="do">
				<optgroup label="$vbphrase[option]">
				
					<if condition="$show['spamctrls']">
					<option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
					</if>
				
					<if condition="$show['deletethread']">
					<option value="deletethread">$vbphrase[delete_threads]</option>
					<option value="undeletethread">$vbphrase[undelete_threads]</option>
					</if>
					
					<if condition="$show['openthread']">
					<option value="open">$vbphrase[open_threads]</option>
					<option value="close">$vbphrase[close_threads]</option>
					</if>
					
					<if condition="$show['approvethread']">
					<option value="approvethread">$vbphrase[approve_threads]</option>
					<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
					</if>
					
					<if condition="$show['movethread']">
					<option value="stick">$vbphrase[stick_threads]</option>
					<option value="unstick">$vbphrase[unstick_threads]</option>
					<option value="movethread">$vbphrase[move_threads]</option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					</if>
					
					$template_hook[inlinemod_thread_bottom]
				</optgroup>
				<optgroup label="____________________">
					<option value="viewthread">$vbphrase[view_selected_threads]</option>
					<option value="clearthread">$vbphrase[clear_thread_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		<else />
			<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['managethread']">
					<option value="mergeposts">$vbphrase[merge_posts]</option>
					<option value="moveposts">$vbphrase[move_posts]</option>
					<option value="copyposts">$vbphrase[copy_posts]</option>
					</if>
					
					<if condition="$show['spamctrls']">
					<option value="spampost">$vbphrase[delete_posts_as_spam]</option>
					</if>
					
					<if condition="$show['managepost']">
					<option value="deleteposts">$vbphrase[delete_posts]</option>
					<option value="undeleteposts">$vbphrase[undelete_posts]</option>
					</if>
					
					<if condition="$show['approvepost']">
					<option value="approveposts">$vbphrase[approve_posts]</option>
					<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
					</if>
					
					<if condition="$show['approveattachment']">
					<option value="approveattachments">$vbphrase[approve_attachments]</option>
					<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
					</if>
					
					$template_hook[inlinemod_post_bottom]
				</optgroup>
				<optgroup label="____________________">
					<option value="viewpost">$vbphrase[view_selected_posts]</option>
					<option value="clearpost">$vbphrase[clear_post_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>
		</div>
	</td>
</tr>
</table>
</if>

</form>

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td>$forumjump</td>
</tr>
</table>

<if condition="$show['inlinemod'] AND $show['popups']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu
	</div>
</if>

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="مشاهدة المجموعات/Show Groups">
		<template name="SHOWGROUPS" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[show_groups] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<if condition="$moderatorbits">
<!-- moderators -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="4">$vbphrase[moderators]</td>
</tr>
<tr>
	<td class="thead">&nbsp;</td>
	<td class="thead" width="50%">$vbphrase[username]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
	<td class="thead" width="50%">$vbphrase[forums]</td>
	<td class="thead">$vbphrase[contact]</td>
</tr>
$moderatorbits
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- end moderators -->
</if>

$usergroups

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td>$forumjump</td>
</tr>
</table>

$footer
</body>
</html>]]></template>
		<template name="showgroups_usergroup" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">$user[title]</td>
</tr>
<tr>
	<td class="thead">&nbsp;</td>
	<td class="thead" width="100%">$vbphrase[user_name]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
	<td class="thead">$vbphrase[contact]</td>
</tr>
$usergroupbits
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
]]></template>
	</templategroup>
	<templategroup name="مشاهدة الموضوع/Show Thread">
		<template name="SHOWTHREAD" templatetype="template" date="1207327424" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if></title>
	<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v=$vboptions[simpleversion]"></script>
	<style type="text/css" id="vbulletin_showthread_css">
	<!--
	<if condition="$show['tag_box']">
	#tag_edit_list { list-style:none; margin:0px; padding:0px; }
	#tag_edit_list li { float:$stylevar[left]; display:block; width:200px; }
	#tag_edit_list li.mine { font-weight:bold; }
	</if>
	#links div { white-space: nowrap; }
	#links img { vertical-align: middle; }
	-->
	</style>
</head>
<body onload="$onload">
$header
$navbar

$poll

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if>

<a name="poststop" id="poststop"></a>

<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->

<!-- toolbar -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">
		<div class="smallfont">

<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<div class="smallfont" style="float:right" nowrap>

<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply1.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a>&nbsp;&nbsp;</if>

<a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" title="بحث في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/searchme.gif" style="cursor: hand" border="0"></a>

<if condition="$forum[statusicon]=='new'">
<a href="search.php?$session[sessionurl]do=getnew&include=$foruminfo[forumid]" title="عرض المشاركات الجديدة في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/findme.gif" style="cursor: hand" border="0"></a></if>

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" title="إضافة موضوع جديد في هذا المنتدى">
<IMG align="absmiddle" SRC="$stylevar[imgdir_misc]/mwa/newme.gif" style="cursor: hand" border="0"></a> 

<if condition="$vboptions['externalrss']"><a target="_blank" href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif" border="0" alt="اشترك في استلام آخر مواضيع القسم" /></a> </if>

</div>&nbsp;
<!-- هاك عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->

		<if condition="$show['firstunreadlink']">
			<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
			<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
		</if>
		&nbsp;
		</div>
	</td>
	<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
	</td>
	<if condition="$show['search']">
		<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
		</td>
	</if>
	<if condition="$show['threadrating']">
		<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
		</td>
	</if>
	<if condition="$vboptions['allowthreadedmode']">
	<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
	</td>
	</if>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
	
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- / toolbar -->

<if condition="$show['inlinemod'] AND $show['popups']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_post
	</div>
</if>

<!-- end content table -->
$spacer_close
<!-- / end content table -->

<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>

<if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_reputation.js?v=$vboptions[simpleversion]"></script>
</if>

<div id="posts">$postbits<div id="lastpost"></div></div>

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
	<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply1.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
		<td class="smallfont">&nbsp;</td>
	</if>	
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['managethread']">
					<option value="mergeposts">$vbphrase[merge_posts]</option>
					<option value="moveposts">$vbphrase[move_posts]</option>
					<option value="copyposts">$vbphrase[copy_posts]</option>
					</if>
					<if condition="$show['spamctrls']">
					<option value="spampost">$vbphrase[delete_posts_as_spam]</option>
					</if>
					<if condition="$show['managepost']">
					<option value="deleteposts">$vbphrase[delete_posts]</option>
					<option value="undeleteposts">$vbphrase[undelete_posts]</option>
					</if>
					<if condition="$show['approvepost']">
					<option value="approveposts">$vbphrase[approve_posts]</option>
					<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
					</if>
					<if condition="$show['approveattachment']">
					<option value="approveattachments">$vbphrase[approve_attachments]</option>
					<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
					</if>
					$template_hook[inlinemod_post_bottom]
				</optgroup>
				<optgroup label="____________________">
					<option value="viewpost">$vbphrase[view_selected_posts]</option>
					<option value="clearpost">$vbphrase[clear_post_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
			<input type="hidden" name="p" value="$postid" />
			<input type="hidden" name="url" value="$url" />
			</div>
			<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>				
		</td>
	</if>
</tr>
</table>
<!-- / controls below postbits -->

<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>

$ad_location[ad_showthread_beforeqr]

<if condition="$show['lightbox']">
<!-- lightbox scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_Lightbox_Container", "posts", $vboptions[lightboxenabled]);
	//-->
	</script>
<!-- / lightbox scripts -->
</if>

<if condition="$show['multiquote_global']">
<!-- multiquote scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_multi_quote.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	var mqlimit = $vboptions[mqlimit];
	//-->
	</script>
<!-- / multiquote scripts -->
</if>

<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
	<tr>
		<td class="thead">
			<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
			$vbphrase[vbulletin_message]
		</td>
	</tr>
	<tr>
		<td class="alt2" colspan="2" id="ajax_post_errors_message">&nbsp;</td>
	</tr>
	<tr>
		<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
	</tr>
	</table>
<!-- / ajax errors table -->
	
<!-- scripts for quick reply and quick edit -->
	$vBeditTemplate[clientscript]
	<if condition="$show['quickedit']">
		<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript">
		<!--
		vB_AJAX_QuickEdit_Init('posts');
		//-->
		</script>
	</if>
<!-- / scripts for quick reply and quick edit -->
</if>


<if condition="$show['quickreply']">
<!-- quick reply -->
	<br />
	<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
	<form action="newreply.php?do=postreply&amp;t=$threadid" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<thead>
		<tr>
			<td class="tcat" colspan="2">
				<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
				$vbphrase[quick_reply]
			</td>
		</tr>
	</thead>
	<tbody id="qr_error_tbody" style="display:none">
	<tr>
		<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
	</tr>
	<tr>
		<td class="alt1" id="qr_error_td"></td>
	</tr>
	<tr>
		<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
	</tr>
	</tbody>
	<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
	<tr>
		<td class="panelsurround" align="center">
			<div class="panel">
				<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth]">
					<div class="smallfont">$vbphrase[message]:</div>
					<div id="$editorid" class="vBulletin_editor">$messagearea</div>
			<div style="margin-top:$stylevar[cellpadding]px"><center>
				<input type="hidden" name="fromquickreply" value="1" />
				<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
				<input type="hidden" name="do" value="postreply" />
				<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
				<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
				<input type="hidden" name="parseurl" value="1" />
				<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
				<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
				<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
			</center></div>
	
			<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
				<img style="vertical-align: middle;" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_quick_reply_please_wait]" />&nbsp;<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
			</div>	
					<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
						<legend>$vbphrase[options]</legend>
						<div style="padding:$stylevar[formspacer]px">
							<if condition="$bbuserinfo['signature']">
								<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
							</if>
							<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
						</div>
					</fieldset>
				</div>
			</div>	
	
		</td>
	</tr>
	</tbody>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

	</form>
	
	<if condition="!is_browser('ie') AND $show['wysiwyg']">
		<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
		<div id="qr_scroll"></div>
	</if>
	
	<script type="text/javascript">
	<!--
		// initialize quick reply
		qr_init();
	//-->
	</script>
<!-- / quick reply -->
</if>

<if condition="!$show['search_engine']">
<!-- next / previous links -->
	<br />
	<div class="smallfont" align="center">
		<strong>&laquo;</strong>
			<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
			|
			<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
		<strong>&raquo;</strong>
	</div>
<!-- / next / previous links --> 
</if>

<if condition="$bookmarksites">
<!-- social bookmarking links -->
	<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">

	<tr>
		<td class="thead" colspan="$bookmarkcolspan">$vbphrase[bookmarks]</td>
	</tr>
	<tr>$bookmarksites</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<!-- / social bookmarking links -->
</if>

<if condition="$show['tag_box']">
<!-- thread tags -->
	<br />
<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="thead">
			<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
				<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
			</div></if>
			<a name="taglist"></a>
			<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
		</td>
	</tr>
	<tr>
		<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->
	
	<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
		<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>

<if condition="$show['activeusers']">
<!-- currently active users -->
	<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" colspan="2">
			<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
		</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$activeusers</span>
		</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<!-- end currently active users -->
</if>

$similarthreads

<if condition="$show['popups']">
<!-- popup menu contents -->
<br />

<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php?t=$threadid&amp;pollid=$pollid" method="post" name="threadadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
	</tr>
	<if condition="$show['member']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
		<if condition="$show['subscribed']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
		</if>
		</td>
	</tr>
	</if>
	<if condition="$show['addpoll']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
	</tr>
	</if>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
		<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_thread]</label></div>
		<div><label for="ao_cpt"><input type="radio" name="do" id="ao_cpt" value="copythread" />$vbphrase[copy_thread]</label></div></if>
		<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
		<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
		<if condition="$show['managethread']">
			<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
			<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
			<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
		</if>
		<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="t" value="$threadid" />
			<input type="hidden" name="pollid" value="$pollid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- **************************************************** -->

<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
	</tr>
	<tr>
	<if condition="$show['linearmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['hybridmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['threadedmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
	</if>
	</tr>
	</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- **************************************************** -->

<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php?do=process&amp;searchthreadid=$threadid" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="searchthreadid" value="$threadid" />
			<input type="text" class="bginput" name="query" size="25" />$gobutton<br />
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php?$session[sessionurl]searchthreadid=$threadid">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / thread search menu -->
</if>

<!-- **************************************************** -->

<if condition="$show['threadrating']">
	<!-- thread rating menu -->
	<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
	<form action="threadrate.php?t=$threadid" method="post" id="showthread_threadrate_form">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
		</tr>
		<if condition="$show['ratethread']">
		<tr>
			<td class="vbmenu_option" title="nohilite" id="threadrating_options">

			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
			</td>
		</tr>
		<tr id="threadrating_submit">
			<td class="vbmenu_option" title="nohilite" align="center">
				<input type="hidden" name="s" value="$session[dbsessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
				<input type="hidden" name="t" value="$threadid" />
				<input type="hidden" name="pp" value="$perpage" />
				<input type="hidden" name="page" value="$pagenumber" />
				<input type="submit" class="button" value="$vbphrase[vote_now]" />
			</td>
		</tr>
		<else />
		<tr>
			<td class="vbmenu_option" title="nohilite">$vbphrase[already_rated_this_thread]</td>
		</tr>
		</if>
		</table>
	</form>
	</div>
	<!-- / thread rating menu -->

	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_ThreadRate_Init('showthread_threadrate_form');
	var threadid = $threadinfo[threadid];
	//-->
	</script>
</if>

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
	<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
	
	<!-- thread tools -->
	<div class="smallfont">
		<if condition="!$show['search_engine']">

			<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" rel="nofollow">$vbphrase[show_printable_version]</a></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
		</if>
		<if condition="$show['member']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
				<if condition="$show['subscribed']">
					<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
				</if>
			</div>
		</if>
		<if condition="$show['addpoll']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
		</if>
	</div>
	<!-- / thread tools -->
	
	</td>
	<if condition="$show['search']">
	<td class="alt1">
	
	<!-- search this thread -->
	<form action="search.php?do=process&amp;searchthreadid=$threadid" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="searchthreadid" value="$threadid" />
		<strong>$vbphrase[search_this_thread]</strong>:<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php?$session[sessionurl]searchthreadid=$threadid">$vbphrase[advanced_search]</a>
	</div>
	</form>
	<!-- /  search this thread -->
	
	</td>
	</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
	<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
	<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
	<if condition="$vboptions['allowthreadedmode']">
	<td class="alt2" $nodhtmlcolspan>
	
	<!-- thread display modes -->
	
	<div class="smallfont">
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
	</div>
	
	<!-- / thread display modes -->
	
	</td>
	</if>
	<if condition="$show['threadrating']">
	<td class="alt2" $nodhtmlcolspan>
	
	<!-- rate this thread -->
	<form action="threadrate.php?t=$threadid" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[dbsessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="t" value="$threadid" />
		<input type="hidden" name="pp" value="$perpage" />
		<input type="hidden" name="page" value="$pagenumber" />
		<strong>$vbphrase[rate_this_thread]</strong>:<br />
		<select name="vote" onchange="this.form.submit()" style="width:175px">
			<optgroup label="$vbphrase[choose_a_rating]">
				<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
				<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
				<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
				<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
				<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
			</optgroup>
		</select>$gobutton
	</div>
	</form>
	<!-- / rate this thread -->
	
	</td>
	</if>
</tr>
</if>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td class="smallfont" align="$stylevar[left]">
		$forumrules
	</td>
	<td class="smallfont" align="$stylevar[right]">
		<table cellpadding="0" cellspacing="0" border="0">
		<if condition="!$show['popups'] AND $show['adminoptions']">
		<tr>
			<td>
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
			<form action="postings.php?t=$threadid" method="post" name="adminoptionsform">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="t" value="$threadid" />
			<strong>$vbphrase[admin_tools]</strong>:<br />
			<select name="do" onchange="this.form.submit()">
				<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
				<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
				<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
				<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_thread]</option>
				<option value="copythread">$vbphrase[copy_thread]</option></if>
				<if condition="$show['managethread']">
						<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
					<option value="mergethread">$vbphrase[merge_threads]</option>
					<option value="removeredirect">$vbphrase[remove_redirects]</option>
				</if>
				<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
			</select>$gobutton
			</form>
			</div>
			</td>
		</tr>
		<br />
		</if>
		<tr>
			<td>
			$forumjump
			</td>
		</tr>		
		</table>
	</td>
</tr>
</table>
<!-- /forum rules and admin links -->

<br />

$footer

<!-- temp -->
<div style="display:none">
	<!-- thread rate -->
	<if condition="$show['ratethread']">
		<!-- thread ratings form here -->
	<else />
		<if condition="$show['threadrating']">
			$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
		</if>
	</if>
	<!-- / thread rate -->
</div>

</body>
</html>]]></template>
		<template name="showthread_quickreply" templatetype="template" date="1198461681" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$show['editor_toolbar']">
<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- لحذف الهاك نحذف السطر التالي -->
<center>

<div id="{$editorid}_controls" class="controlbar">

<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- تم حذف width="100%" من الجدول التالي ويتم إعادتها لحذف الهاك -->

	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
	<if condition="$show['basic_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
	</if>
	<if condition="$show['color_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
				<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
			</tr>
			</table>
		</div></td>
	</if>
	<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	</if>
	<if condition="$show['url_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
	</if>
	<if condition="$show['img_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
	</if>
	<if condition="$show['quote_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
	</if>

<!-- هاك عام توسيط أزرار محرر الرد السريع -->
<!-- تم حذف السطر التالي ويعاد لحذف الهاك -->
<!-- <td width="100%">&nbsp;</td> -->

	<if condition="is_browser('ie')">
		<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
	</if>
		<td>
			<div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
			<div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
		</td>
	<if condition="$show['wysiwyg_compatible']">
		<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
	</if>
	</tr>
	</table>
</div>

<!-- هاك عام ـ توسيط أزرار محرر الرد السريع -->
<!-- لحذف الهاك نحذف السطر التالي -->
</center>

</if>
<div class="controlbar" style="padding-$stylevar[right]:8px">
	<fieldset style="border:0px; padding:0px; margin:0px">
	<if condition="$show['qr_require_click']">
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
	<else />
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
	</if>
	</fieldset>
	<!--width:$stylevar[messagewidth]-->
</div>

<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<input type="hidden" name="styleid" value="$session[styleid]" />

<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
var QR_EditorID = '$editorid';
//-->
</script>]]></template>
		<template name="SHOWTHREAD_SHOWPOST" templatetype="template" date="1198370739" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[view_single_post] - $threadinfo[prefix_plain_html] $threadinfo[title] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">

<form action="showpost.php">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-bottom-width:0px">
<tr>
	<td class="tcat">
		<div class="smallfont" style="float:$stylevar[right]">
			<strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a style="text-decoration: underline" href="showthread.php?$session[sessionurl]p=$postinfo[postid]#post$postinfo[postid]">$threadinfo[title]</a>
		</div>
		$vbphrase[view_single_post]
	</td>
</tr>
</table>

<if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_reputation.js?v=$vboptions[simpleversion]"></script>
</if>

$postbits

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-top-width:0px">
<tr>
	<td class="tfoot" align="center">
		<input type="button" class="button" value="$vbphrase[close_this_window]" id="close_button" style="display: none;" />
		&nbsp;
		<script type="text/javascript">
		<!--
		if (self.opener)
		{
			var close_button = fetch_object('close_button');
			close_button.style.display = '';
			close_button.onclick = function() { self.close(); };
		}
		//-->
		</script>
	</td>
</tr>
</table>

</form>

<if condition="$show['lightbox']">
<!-- lightbox scripts -->
	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_Lightbox_Container", "td_post_$post[postid]", $vboptions[lightboxenabled]);
	//-->
	</script>
<!-- / lightbox scripts -->
</if>

<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>

</body>
</html>]]></template>
		<template name="showthread_similarthreads" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" width="100%" colspan="5">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('similarthreads')"><img id="collapseimg_similarthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_similarthreads].gif" alt="" border="0" /></a>
			$vbphrase[similar_threads]<a name="similarthreads"></a>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_similarthreads" style="$vbcollapse[collapseobj_similarthreads]">
<tr class="thead" align="center">
	<td class="thead" width="40%">$vbphrase[thread]</td>
	<td class="thead" width="15%" nowrap="nowrap">$vbphrase[thread_starter]</td>
	<td class="thead" width="20%">$vbphrase[forum]</td>
	<td class="thead" width="5%">$vbphrase[replies]</td>
	<td class="thead" width="20%">$vbphrase[last_post]</td>
</tr>
$similarthreadbits
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />]]></template>
	</templategroup>
	<templategroup name="قوالب المجموعات الاجتماعية">
		<template name="SOCIALGROUPS" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$custompagetitle - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar


<if condition="$mygroup_bits">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-bottom:20px">
<tr>
	<td class="tcat" colspan="3">$vbphrase[you_are_a_member_of_the_following_groups]</td>
</tr>
<tr>
	<td class="thead" width="100%">$vbphrase[group_name]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[joined_group]</td>
	<td class="thead" align="center" nowrap="nowrap">$vbphrase[group_options]</td>
</tr>
$mygroup_bits
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

<if condition="$show['errors']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="$stylevar[left]">
	<td class="tcat">
			$vbphrase[errors_occured_with_search]
	</td>
</tr>
<tr>
	<td class="alt1">
			<ol>$errorlist</ol>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
</if>

<form action="group.php?$session[sessionurl]do=grouplist" method="post">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td class="tcat" width="100%" colspan="3">
		<div style="float:$stylevar[right]" class="normal">$vbphrase[search_groups] <input type="text" class="bginput" name="filtertext" value="$filters[text]" style="font-size: 11px;" />&nbsp;<input type="submit" class="button" value="$vbphrase[go]" /></div>
		$grouplisttitle
	</td>
</tr>
<if condition="$grouplist">
	<tr>
		<td class="thead" width="100%">
			<a href="$sorturl&amp;order=asc&amp;sort=name">$vbphrase[group_name]</a> $sortarrow[name]
		</td>
		<td class="thead" align="center" nowrap="nowrap">
			<a href="$sorturl&amp;order=desc&amp;sort=members">$vbphrase[group_members]</a> $sortarrow[members]
		</td>
		<td class="thead" width="150" align="center" nowrap="nowrap">
			<a href="$sorturl&amp;order=desc&amp;sort=created">$vbphrase[group_created]</a> $sortarrow[created]
		</td>
	</tr>
	$grouplist
	<else />
	<tr>
		<td class="alt1" align="center" colspan="3">$vbphrase[no_groups_to_display]</td>
	</tr>
</if>

<tr>
	<td colspan="3" align="center" class="tfoot smallfont">
		<if condition="$show['creategroup']">
			<strong><a href="group.php?$session[sessionurl]do=create">$vbphrase[create_a_new_group]</a></strong> &nbsp;
		</if>
		&nbsp; <strong><a href="group.php?$session[sessionurl]do=search">$vbphrase[search_groups]</a></strong>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$pagenav">
	<div style="margin-top: $stylevar[cellpadding]px">$pagenav</div>
</if>

<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="dofilter" value="1" />
</form>


$footer
</body>
</html>]]></template>
		<template name="socialgroups_addpictures" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

$messages
		
<form action="group.php?do=insertpictures&amp;groupid=$group[groupid]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="insertpictures" />
<input type="hidden" name="groupid" value="$group[groupid]" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[add_pictures_to_group]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
		<div class="panel">
			<div class="smallfont" align="$stylevar[left]" style="width:$stylevar[formwidth]">
				<phrase 1="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[may_add_pictures_group_paste_url]</phrase>
				<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
				$vbphrase[picture_urls]: <span class="shade">$vbphrase[one_url_per_line_paren]</span>
				<div><textarea class="bginput" name="pictureurls" cols="50" rows="5" tabindex="1" style="width: 98%"></textarea></div>
			</div>
		</div>
		
		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" value="$vbphrase[add_pictures]" class="button" accesskey="s" tabindex="1" />
		</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
								
$footer
</body>
</html>]]></template>
		<template name="socialgroups_addpicture_messages" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="alt1" >
		<ul>$messagebits</ul>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />]]></template>
		<template name="socialgroups_confirm" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

<form action="$confirmaction" method="post">
	<input type="hidden" name="do" value="$confirmdo" />
	<input type="hidden" name="groupid" value="$group[groupid]" />
	<if condition="$pictureinfo">
		<input type="hidden" name="pictureid" value="$pictureinfo[pictureid]" />
	</if>
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
	<input type="hidden" name="url" value="$url" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->
	
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
	<tr>
		<td class="tcat">$title_phrase</td>
	</tr>
	<tr>
		<td class="alt1" align="center">$question_phrase<if condition="$extratext"><br /><br />$extratext</if></td>
	</tr>
	<tr>
		<td class="tfoot" align="center">
			<input class="button" type="submit" name="confirm" value="  $vbphrase[yes]  " />
			<input class="button" type="submit" name="deny" value="  $vbphrase[no]  " />
		</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

$footer
</body>
</html>]]></template>
		<template name="socialgroups_deletemessages" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body>
$header
$navbar

<form action="group_inlinemod.php?gmids=$gmids" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="groupid" value="$group[groupid]" />
<input type="hidden" name="messageids" value="$messageids" />
<input type="hidden" name="do" value="doinlinedelete" />
<input type="hidden" name="url" value="$url"  />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[delete_messages]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

		<fieldset class="fieldset">
			<legend>$vbphrase[deletion_options]</legend>
			<div style="padding:$stylevar[formspacer]px">
				<if condition="$show['deleteoption']">
					<div class="fieldset">$vbphrase[how_would_you_like_to_delete]</div>
				</if>
				<if condition="$show['deletemessages']">
					<div class="fieldset">
						<label for="deletetype_1"><input type="radio" name="deletetype" value="1" id="deletetype_1" $checked[delete] />$vbphrase[soft_delete_leave_deleted_message]</label>
					</div>
				</if>
	
				<if condition="$show['removemessages']">
					<div class="fieldset">
						<label for="deletetype_2"><input type="radio" name="deletetype" value="2" id="deletetype_2" $checked[remove] />$vbphrase[physically_remove]</label>
					</div>
				</if>
	
				<if condition="$show['deletemessages']">
					<div class="fieldset">
						<label for="deletereason">$vbphrase[reason_for_deletion]
							<input type="text" class="bginput" name="deletereason" id="deletereason" value="" size="50" maxlength="125" style="display:block" />
						</label>
					</div>
				</if>
			</div>
		</fieldset>

		<div class="fieldset shade"><phrase 1="$messagecount" 2="$groupcount">$vbphrase[deleting_x_messages_from_y_social_groups]</phrase></div>
		
		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[delete]" accesskey="s" />
		<input type="button" class="button" value="$vbphrase[cancel]" accesskey="c" onclick="history.back(1)" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />

$footer

</body>
</html>]]></template>
		<template name="socialgroups_editor" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body>
$header

$navbar

<if condition="$show['delete']">
<form action="group.php?do=deletemessage&amp;gmid=$messageinfo[gmid]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="gmid" value="$messageinfo[gmid]" />
<input type="hidden" name="do" value="deletemessage" />
<input type="hidden" name="groupid" value="$group[groupid]" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a>
		$vbphrase[delete_message]
	</td>
</tr>
<tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

			<div class="fieldset">$vbphrase[delete_message_check_appropriate_option]</div>

			<fieldset class="fieldset">
				<legend>$vbphrase[deletion_options]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<label for="rb_del_leave"><input type="radio" name="deletemessage" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
					</div>
					<div>
						<label for="rb_del_soft"><input type="radio" name="deletemessage" value="soft" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
					</div>
					<if condition="$show['physicaldeleteoption']">
					<div>
						<label for="rb_del_hard"><input type="radio" name="deletemessage" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
					</div>
					</if>
				</div>
			</fieldset>

			<div class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</div>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[delete]" tabindex="1" accesskey="d" />
		</div>

		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<br />
</if>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

$postpreview

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<form action="group.php?do=message" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['edit']"><span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[user]</strong>: <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[username]</a></span>
		$vbphrase[edit_message]$vbphrase[edit_group_message]
		<else />
		$vbphrase[post_a_message]$vbphrase[post_new_group_message]
		</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

		$usernamecode

		$human_verify

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="message" />
		<input type="hidden" name="gmid" value="$messageinfo[gmid]" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="hidden" name="groupid" value="$group[groupid]" />
					<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview]" accesskey="r" tabindex="1" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['additional_options']">
<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
						<input type="submit" class="button" name="sbutton" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview]" accesskey="r" tabindex="1" />
		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

</form>

<if condition="$messagebits">
<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newmessage_dialog')"><img id="collapseimg_newmessage_dialog" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_nemessage_dialog].gif" alt="" border="0" /></a>
					$vbphrase[message_dialog]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newmessage_dialog" style="$vbcollapse[collapseobj_newmessage_dialog]">
	<tr valign="top">
		<td class="panelsurround">
		<div class="panel">

			$messagebits

		</div>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</if>

<br />

$footer

</body>
</html>]]></template>
		<template name="socialgroups_form" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
	<head>
		$headinclude
		<title>$vboptions[bbtitle] - $custompagetitle</title>
	</head>
	<body>
		$header
		$navbar
		
		<form action="group.php?do=$action&amp;groupid=$group[groupid]" method="post">
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="$action" />
			<input type="hidden" name="groupid" value="$group[groupid]" />
			<input type="hidden" name="url" value="$url" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
				<tr>
					<td class="tcat">$phrase<if condition="$_REQUEST['do'] == 'edit'"> <span class="normal"><a href="group.php?$session[sessionurl]groupid=$group[groupid]">$group[name]</a></span></if></td>
				</tr>
				<tr>
					<td class="panelsurround" align="center">
						<div class="panel">
								<table><tr><td align="$stylevar[left]">
								<if condition="$show['title']">
									<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
										$vbphrase[group_name]:<br />
										<input type="text" class="bginput" name="groupname" size="50" value="$group[name]" tabindex="1" />
									</div>
								</if>
								
								<div class="smallfont">
									$vbphrase[group_description]: <span class="shade">($vbphrase[bbcode_not_allowed])</span><br />
									<textarea class="bginput" name="groupdescription" cols="50" rows="5" tabindex="1">$group[description]</textarea>
								</div>
								<div class="smallfont">
								$vbphrase[group_type]:<br />
								<select name="grouptype">
									<option value="public"$typeselected[public]>$vbphrase[group_type_public]</option>
									<option value="moderated"$typeselected[moderated]>$vbphrase[group_type_moderated]</option>
									<option value="inviteonly"$typeselected[inviteonly]>$vbphrase[group_type_inviteonly]</option>
								</select>
								</td></tr></table>
						</div>
						
						<div style="margin-top:$stylevar[cellpadding]px">
							<input type="submit" value="$vbphrase[save]" class="button" accesskey="s" tabindex="1" />&nbsp;<input type="reset" value="$vbphrase[reset]" class="button" />
						</div>
					</td>
				</tr>
			</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

		</form>
		
		$footer
	</body>
</html>]]></template>
		<template name="socialgroups_group" templatetype="template" date="1202948764" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
	$socialgroups_css
</head>
<body>
$header
$navbar
		
<div class="tborder" id="social_group">
	<div class="tcat block_title">
		<if condition="$groupoptions['join'] OR $groupoptions['leave']">
		<span class="smallfont" style="float:$stylevar[right]">
			<if condition="$groupoptions['join']">
					<a href="group.php?$session[sessionurl]do=join&amp;groupid=$group[groupid]">$vbphrase[join_group]</a>
			<else />
				<if condition="!$group['membertype'] AND $group['type'] == 'inviteonly'">
						$vbphrase[group_type_inviteonly]
				</if>
			</if>
			<if condition="$groupoptions['join'] AND $groupoptions['leave']">
				&nbsp;|&nbsp;
			</if>
			<if condition="$groupoptions['leave']"><a href="group.php?$session[sessionurl]do=leave&amp;groupid=$group[groupid]">$leavephrase</a></if>
		</span>
		</if>
		$vbphrase[social_group]
	</div>
	
	<!-- group info -->
	<div class="alt1 block_row">
		<span class="smallfont" style="float: $stylevar[right];">$grouptypephrase</span>
		<h1 id="group_name">$group[name]</h1>
		<div id="group_creator" class="smallfont"><phrase 1="$session[sessionurl]" 2="$group[creatoruserid]" 3="$group[creatorusername]">$vbphrase[group_created_by_x]</phrase></div>
		<if condition="$group['description']">
			<p id="group_description">$group[description]</p>
		</if>
	</div>
	
	<!-- members -->
	<div class="thead block_row">
		<a id="view_all_members_link" class="smallfont" href="group.php?$session[sessionurl]do=viewmembers&amp;groupid=$group[groupid]">$vbphrase[view_all_members]</a>
		<phrase 1="$members_shown" 2="$group[members]">$vbphrase[showing_x_of_y_members]</phrase>
	</div>
	
	<div class="alt2 block_row">
		<ul id="group_member_list">$short_member_list_bits</ul>
	</div>
	
	<!-- pictures -->
	<if condition="$show['pictures_block']">
	<div class="thead block_row">
		<div id="picture_links" class="smallfont">
			<a href="group.php?$session[sessionurl]do=grouppictures&amp;groupid=$group[groupid]">$vbphrase[view_pictures]</a>
			<if condition="$show['add_pictures_link']">| <a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures]</a></if>
		</div>
		<if condition="$pictures_shown">
			<phrase 1="$pictures_shown" 2="$group[picturecount]">$vbphrase[showing_x_of_y_pictures]</phrase>
		<else />
			$vbphrase[group_pictures]
		</if>
	</div>
	<div class="alt1 block_row">
		<if condition="$picturebits">
			$picturebits
		<else />
			$vbphrase[no_pictures_added_group_yet]
			<if condition="$show['add_pictures_link']"><a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures_to_this_group]</a></if>
		</if>
	</div>
	</if>

	<!-- messages -->
<if condition="$show['groupmessages']">
	<if condition="$show['quickcomment']">
		$vBeditTemplate[clientscript]
		
		<div class="thead block_row">$vbphrase[social_group_messages]</div>
		
		<form action="group.php?$session[sessionurl]do=message" method="post" name="vbform" id="message_form" class="alt1 smallfont block_row">		
			
			<div align="center">
				<div style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

<div style="display:none" id="qc_error_div" class="tborder">
                        <div class="alt1 block_title">
                            <div id="qc_error_header">$vbphrase[errors_occured_when_submitted]</div>
                            <div id="qc_error_list">&nbsp;</div>
                            <div id="qc_error_okay"><input type="button" class="button" value="$vbphrase[okay]" id="qc_hide_errors" /></div>
                        </div>
                    </div>
					<div id="$editorid" class="vBulletin_editor">$messagearea</div>
					<if condition="$show['allowed_bbcode']"><div class="allowed_bbcode"><phrase 1="$allowed_bbcode">$vbphrase[allowed_bbcode_message_x]</phrase></div></if>
					<div class="submit_button">
						<input type="hidden" name="fromquickcomment" value="1" />
						<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="message" />
						<input type="hidden" name="groupid" value="$group[groupid]" />
						<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
						<input type="hidden" name="parseurl" value="1" />
						<input type="hidden" name="lastcomment" value="$lastcomment" />
						<input type="hidden" name="allow_ajax_qc" value="$show[allow_ajax_qc]" />
		
						<input type="submit" id="qr_submit" value="$vbphrase[post_message]" name="sbutton" class="button" accesskey="s" onclick="clickedelm = this.value" />
						<!--<input type="submit" id="qr_preview" value="$vbphrase[go_advanced]" name="preview" class="button" accesskey="x" onclick="clickedelm = this.value" />-->
					</div>		
				</div>
			</div>			

			<div align="center" id="qc_posting_msg" style="display:none; margin-top:$stylevar[cellpadding]px">
				<img class="inlineimg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_comment] - $vbphrase[please_wait]" />
				<strong>$vbphrase[posting_message_please_wait]</strong>
			</div>
			
		</form>
	</if>

	<if condition="$messagebits">
		<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" id="group_message_header_table">
		<tr>
			<td class="thead" width="100%"><if condition="$messagetotal"><phrase 1="$messagestart" 2="$messageend" 3="$messagetotal">$vbphrase[showing_gms_x_to_y_of_z]</phrase><else />&nbsp;</if></td>
			<if condition="$show['inlinemod']">
				<td class="vbmenu_control" id="inlinemodsel"></td>
			</if>
		</tr>
		</table>
			
		<!-- inline moderation form -->
		<form action="group_inlinemod.php?groupid=$group[groupid]" method="post" id="group_message_inlinemod_form">
			<ol class="alt1 list_no_decoration block_row" id="message_list">
				$messagebits
			</ol>
					
			<if condition="$show['inlinemod'] OR $pagenav OR $show['quickcomment']">
				<div class="alt2 block_row" id="group_message_tab_footer">
					<table cellpadding="0" cellspacing="0" border="0" width="100%">
					<tr valign="bottom">
					<if condition="$show['inlinemod']">
                        <td class="smallfont" id="inlinemod_comment_controls">
							<div><label for="moderation_select_comments">$vbphrase[moderation]</label></div>
							<select id="moderation_select_comments" name="do">
<if condition="$show['delete'] OR $show['undelete'] OR $show['approve']">
								<optgroup label="$vbphrase[option]" id="moderation_select_comments_optgroup">
									<if condition="$show['delete']">
										<option value="inlinedelete" id="inlinemod_comment_controls_delete">$vbphrase[delete_messages]</option>
									</if>
									<if condition="$show['undelete']">
										<option value="inlineundelete" id="inlinemod_comment_controls_undelete">$vbphrase[undelete_messages]</option>
									</if>
									<if condition="$show['approve']">
										<option value="inlineapprove" id="inlinemod_comment_controls_approve">$vbphrase[approve_messages]</option>
										<option value="inlineunapprove" id="inlinemod_comment_controls_unapprove">$vbphrase[unapprove_messages]</option>
									</if>
								</optgroup>
</if>
								<optgroup label="____________________">
									<option value="clearmessage">$vbphrase[deselect_all_messages]</option>
								</optgroup>
							</select>
							<input type="submit" value="$vbphrase[go]" id="gmessage_inlinego" class="button" />
							<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
							<input type="hidden" name="u" value="$userinfo[userid]" />
						</td>
					</if>
					<if condition="$pagenav">
						<td class="smallfont" align="$stylevar[right]">
							$pagenav
						</td>
					</if>
					</tr>
					</table>
				</div>
			</if>
	</if>
	
	<if condition="$show['quickcomment']">
		<script type="text/javascript" src="clientscript/vbulletin_quick_comment.js?v=$vboptions[simpleversion]"></script>
				<script type="text/javascript">
		<!--
		var quick_comment = new vB_QuickComment("message_form", $vboptions[postminchars]);
		//-->
		</script>
	</if>
	<if condition="$messagebits">
		<if condition="$show['inlinemod']">
			<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
			<script type="text/javascript">
			<!--
			inlineMod_comment = new vB_Inline_Mod('inlineMod_comment', 'gmessage', 'group_message_inlinemod_form', '$vbphrase[go_x]', 'vbulletin_inline', 'group_message');
			//-->
			</script>
		</if>
		<if condition="$show['inlinemod']">
			<script type="text/javascript">
			<!--
			vBmenu.register("inlinemodsel");
			//-->
			</script>
		</if>
	
		</form>
		<!-- / inline moderation form -->
		
		<!-- inline mod selection popup -->
		<ul id="inlinemodsel_menu" class="vbmenu_popup list_no_decoration" style="display:none">
			<li class="thead first">$vbphrase[from_this_page]</li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(true)">$vbphrase[select_all]</li>
            <li class="vbmenu_option" onclick="inlineMod_comment.check_all(false)">$vbphrase[deselect_all]</li>
            <li class="vbmenu_option" onclick="inlineMod_comment.check_all('invert')">$vbphrase[invert_selection]</li>
			<li class="thead"><img src="$vboptions[cleargifurl]" alt="" width="1" height="1" /></li>
			<li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 1)">$vbphrase[select_unapproved_posts]</li>
            <li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 2)">$vbphrase[select_deleted_posts]</li>
		</ul>
		<!-- / inline mod selection popup -->
		
	<else />
		<div class="alt2 block_row">$vbphrase[group_has_no_messages]</div>
	</if>
</if>
	
	<if condition="$groupoptions['join'] OR $groupoptions['leave'] OR $groupoptions['edit'] OR $groupoptions['delete'] OR $groupoptions['manage']">
	<div class="tfoot block_row">
		<ul id="group_footer_links">
			<if condition="$groupoptions['join']">
				<li class="smallfont">
					<a href="group.php?$session[sessionurl]do=join&amp;groupid=$group[groupid]">$vbphrase[join_group]</a>
				</li>
			<else />
				<if condition="$group['membertype'] != 'member' AND $group['type'] == 'inviteonly'">
					<li class="smallfont">
						$vbphrase[group_type_inviteonly]
					</li>
				</if>
			</if>
			<if condition="$groupoptions['leave']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=leave&amp;groupid=$group[groupid]">$leavephrase</a></li></if>
			<if condition="$groupoptions['edit']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=edit&amp;groupid=$group[groupid]">$vbphrase[edit_group]</a></li></if>
			<if condition="$groupoptions['delete']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=delete&amp;groupid=$group[groupid]">$vbphrase[delete_group]</a></li></if>
			<if condition="$groupoptions['manage']">
				<li class="smallfont">
					<a href="group.php?$session[sessionurl]do=manage&amp;groupid=$group[groupid]">$vbphrase[pending_and_invited_members]</a>
				</li>
				<if condition="$group['members'] > 1">
					<li class="smallfont">
						<a href="group.php?$session[sessionurl]do=managemembers&amp;groupid=$group[groupid]">$vbphrase[manage_members]</a>
					</li>
				</if>
			</if>
		</ul>
	</div>
	<div></div>
	</if>
</div>
								
$footer
</body>
</html>]]></template>
		<template name="socialgroups_manage" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
	$memberinfo_css
	$socialgroups_css
	<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript" src="clientscript/vbulletin_ajax_userlist.js?v=$vboptions[simpleversion]"></script>
</head>
<body>
$header
$navbar

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span style="float:$stylevar[right]" class="smallfont"><b>$vbphrase[social_group]</b>: <a href="group.php?$session[sessionurl]groupid=$group[groupid]">$group[name]</a></span>
		<if condition="$show['manage_members']">
			$vbphrase[manage_members]
		<else />
			$vbphrase[pending_and_invited_members]
		</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
		<div class="panel">
			<div align="center">
				<if condition="$moderatebits">
					<fieldset class="fieldset" id="moderatedlist_container" style="width: $stylevar[formwidth]; text-align: $stylevar[left];">
						<legend>$vbphrase[members_pending_moderation]</legend>

						<form action="group.php?$session[sessionurl]do=pendingmembers&amp;groupid=$group[groupid]" method="post" id="moderatedlist_change_form">
							<input type="hidden" name="do" value="pendingmembers" />
							<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
							<input type="hidden" name="groupid" value="$group[groupid]" />

							<div class="checkbox_ctrls floatcontainer">
								<label class="check_all_ctrl shade"><input type="checkbox" id="moderatedlist_checkall" />$vbphrase[check_uncheck_all]</label>
							</div>
							<div class="userlist_title">$vbphrase[members_pending_moderation]</div>
							<div class="userlist_description">$vbphrase[members_pending_moderation_description]:</div>
							<ul class="userlist userlist_hiddenavatars floatcontainer" id="moderatedlist">
								$moderatebits
							</ul>
							<div class="submitrow smallfont" style="margin-top: $stylevar[cellpadding]px;">
								<div id="moderatedlist_action">
									<div><label for="action_accept"><input type="radio" name="action" value="accept" id="action_accept" checked="checked" />$vbphrase[accept]</label></div>
									<div><label for="action_deny"><input type="radio" name="action" value="deny" id="action_deny" />$vbphrase[deny]</label></div>
								</div>
								<input type="submit" class="button" id="moderated_submit" value="$vbphrase[save_changes]" />
							</div>
						</form>

						<script type="text/javascript">
						<!--
						vBulletin.register_control("vB_UserList_Highlighter", "moderatedlist");
						//-->
						</script>
					</fieldset>
				</if>



				<fieldset class="fieldset" id="invitedlist_container" style="width: $stylevar[formwidth]; text-align: $stylevar[left];">
					<legend>$vbphrase[invited_users]</legend>
					<if condition="$invitebits">
						<form action="group.php?$session[sessionurl]do=pendingmembers&amp;groupid=$group[groupid]" method="post" id="invitedlist_change_form">
							<input type="hidden" name="do" value="cancelinvites" />
							<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
							<input type="hidden" name="groupid" value="$group[groupid]" />

							<div class="checkbox_ctrls floatcontainer">
								<label class="check_all_ctrl shade"><input type="checkbox" id="invitedlist_checkall" />$vbphrase[check_uncheck_all]</label>
							</div>
							<div class="userlist_title">$vbphrase[invited_members]</div>
							<div class="userlist_description">$vbphrase[invited_users_description]:</div>
							<ul class="userlist userlist_hiddenavatars floatcontainer" id="invitedlist">
								$invitebits
							</ul>
							<div class="submitrow smallfont" style="margin-top: $stylevar[cellpadding]px;">
								<input type="submit" class="button" id="moderated_submit" value="$vbphrase[cancel_invitation]" />
							</div>
						</form>

						<script type="text/javascript">
						<!--
						vBulletin.register_control("vB_UserList_Highlighter", "invitedlist");
						//-->
						</script>
						<hr />
					</if>
					
					<form action="group.php?do=sendinvite&amp;groupid=$group[groupid]" method="post">
						<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="sendinvite" />
						<input type="hidden" name="groupid" value="$group[groupid]" />
						
						<if condition="$errormsg">
							<div><img src="$stylevar[imgdir_statusicon]/wol_error.gif" class="inlineimg" alt="" /> $errormsg</div>
						</if>
						
						$vbphrase[invite_user]
						<div>
							<span id="group_invite"><input type="text" class="bginput" name="username" id="group_invite_txt" size="40" value="$invite_username" /></span>
							<input type="submit" class="button" value="$vbphrase[invite]" />
						</div>
						<div id="group_invite_menu" class="vbmenu_popup" style="display:none"></div>
					</form>
					<script type="text/javascript">
						vBmenu.register("group_invite", true);
						snc_invite = new vB_AJAX_NameSuggest("snc_invite", "group_invite_txt", "group_invite");
					</script>
				</fieldset>

			</div>
		</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

$footer
</body>
</html>]]></template>
		<template name="socialgroups_managemembers" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
	$memberinfo_css
	$socialgroups_css
	<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js"></script>

	<script type="text/javascript" src="clientscript/vbulletin_ajax_userlist.js"></script>
</head>
<body>
	$header
	$navbar

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat"><span style="float:$stylevar[right]" class="smallfont"><a href="group.php?$session[sessionurl]groupid=$group[groupid]">$group[name]</a></span>$vbphrase[manage_members]</td>
	</tr>
	<tr>
		<td class="panelsurround" align="center">
			<div class="panel">
				<div align="center">
					<fieldset class="fieldset" id="memberlist_container" style="width: $stylevar[formwidth]; text-align: $stylevar[left];">
						<legend>$vbphrase[manage_members]</legend>
						<if condition="$memberbits">
							<form action="group.php?$session[sessionurl]do=pendingmembers&amp;groupid=$group[groupid]" method="post" id="memberlist_change_form">
								<input type="hidden" name="do" value="kickmembers" />
								<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
								<input type="hidden" name="groupid" value="$group[groupid]" />

								<div class="checkbox_ctrls floatcontainer">
									<label class="check_all_ctrl shade"><input type="checkbox" id="memberlist_checkall" />$vbphrase[check_uncheck_all]</label>
								</div>
								<div class="userlist_title">$vbphrase[kick_members]</div>
								<div class="userlist_description">$vbphrase[kick_members_description]:</div>
								<ul class="userlist userlist_hiddenavatars floatcontainer" id="memberlist">
									$memberbits
								</ul>
								<div class="submitrow smallfont" style="margin-top: $stylevar[cellpadding]px;">
									<input type="submit" class="button" id="moderated_submit" value="$vbphrase[kick_members]" />
								</div>
							</form>

							<script type="text/javascript">
							<!--
							vBulletin.register_control("vB_UserList_Highlighter", "memberlist");
							//-->
							</script>
						<else />
							$vbphrase[last_member_of_group]
						</if>

					</fieldset>
				</div>
			</div>
		</td>
	</tr>
	</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

	<script type="text/javascript">
		<!--

		//    snc_buddylist = new vB_AJAX_NameSuggest("snc_buddylist", "buddylist_add_txt", "buddylist_add");

		// ajax saver
		//    vBulletin.register_control("vB_UserList_Saver", "buddylist");
		//    vBulletin.register_control("vB_UserList_Saver", "incomingreqs");
		// img-label handler
// 		vBulletin.register_control("vB_UserList_Highlighter", "invitedlist");

// 		console.log("foo");
		//vBulletin.register_control("vB_UserList_Highlighter", "incomingreqs");
		//-->
	</script>
$footer
</body>
</html>



<!-- Still to edit -->


]]></template>
		<template name="socialgroups_memberlist" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
	$memberinfo_css
</head>
<body>
$header
$navbar

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
	<td colspan="2" class="tcat">
		<phrase 1="$group[name]">$vbphrase[members_in_group_x]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1">
		<ul class="list_no_decoration">$member_list</ul>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$pagenav">
	<div style="margin-top: $stylevar[cellpadding]px">$pagenav</div>
</if>
		
$footer
</body>
</html>]]></template>
		<template name="socialgroups_mygroups_bit" templatetype="template" date="1198389823" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<tr>
	<td class="alt1" width="100%">
		<a href="group.php?$session[sessionurl]groupid=$mygroup[groupid]">$mygroup[name]</a>
		<div class="smallfont">$group[shortdescription]</div>
	</td>
	<td class="alt2" align="center" nowrap="nowrap">$mygroup[joindate]</td>
	<td class="alt1 smallfont" align="center" nowrap="nowrap">
		<if condition="$show['group_options']">
		<if condition="$show['edit_group']">
			<div><a href="group.php?$session[sessionurl]do=edit&amp;groupid=$mygroup[groupid]">$vbphrase[edit_group]</a></div>
		</if>
		<if condition="$show['delete_group']">
			<div><a href="group.php?$session[sessionurl]do=delete&amp;groupid=$mygroup[groupid]">$vbphrase[delete_group]</a></div>
		</if>
		<if condition="$show['leave_group']">
			<a href="group.php?$session[sessionurl]do=leave&amp;groupid=$mygroup[groupid]">$vbphrase[leave_group]</a>
		</if>
		<else />
			$vbphrase[n_a]
		</if>
	</td>
</tr>]]></template>
		<template name="socialgroups_picture" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->
		
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['picture_nav']">
			<div class="smallfont" style="float: $stylevar[right]">
				<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text_short]</a> |
				<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text_short]</a>
			</div>
		</if>
		
		<phrase 1="$pic_location[pic_position]" 2="$group[picturecount]" 3="$group[name]">$vbphrase[picture_x_of_y_from_group_z]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1" align="center">
		<table width="<if condition="$pictureinfo['width'] < 450">450<else />$pictureinfo[width]</if>" cellpadding="$stylevar[cellpadding]">
		<tr>
			<td align="center"><img src="picture.php?$session[sessionurl]groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]" alt="$vbphrase[picture]" /></td>
		</tr>
		<if condition="$pictureinfo['caption_html']">
			<tr>
				<td align="$stylevar[left]"><em>$pictureinfo[caption_html]</em></td>
			</tr>
		</if>

<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->
<tr>
                <td align="$stylevar[left]"><table width="80%" border="0" class="tborder" align="center" cellpadding="3" cellspacing="0">
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">رابط الصورة : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield2" class="bginput" type="text" value="$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">البي بي كود : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield3" class="bginput" type="text" value="[img]$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid][/img]" size="50" READONLY>
                    </span></div></td>
                  </tr>
                  <tr>
                    <td class="alt2" nowrap="nowrap"><div class="smallfont normal">
                      <div align="right">كود الإدراج : </div>
                    </div></td>
                    <td class="alt2"><div align="center"><span class="smallfont normal">
                      <input name="textfield" class="bginput" type="text" value="<img src='$vboptions[bburl]/picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]' style='border:1px solid #000000;' >" size="50" READONLY>
                    </span></div></td>
                  </tr>
                </table>
           
                </td>
            </tr>
<!-- هاك عام ـ عرض رابط الصور في البوم الأعضاء تحت الصورة لإدراجها في المواضيع -->

		<tr>
			<td align="$stylevar[left]" class="smallfont" nowrap="nowrap">
				<if condition="$show['edit_picture_option'] OR $show['reportlink']">
					<div class="smallfont normal" style="float: $stylevar[right]">
					<if condition="$show['edit_picture_option']">
						<div><a href="album.php?$session[sessionurl]do=editpictures&amp;albumid=$album[albumid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[edit_picture]</a></div>
						<div><a href="group.php?$session[sessionurl]do=removepicture&amp;groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[remove_from_group]</a></div>
					</if>
					<if condition="$show['reportlink']">
						<div><a href="group.php?$session[sessionurl]do=reportpicture&amp;groupid=$group[groupid]&amp;pictureid=$pictureinfo[pictureid]">$vbphrase[report_picture]</a></div>
					</if>
					</div>
				</if>
				<div><span class="shade">$vbphrase[picture_added]:</span> $pictureinfo[adddate] <if condition="!$show['detailedtime']"><span class="time">$pictureinfo[addtime]</span></if></div>
				<div><span class="shade">$vbphrase[picture_by]:</span> <a href="member.php?$session[sessionurl]u=$pictureinfo[userid]">$pictureinfo[username]</a></div>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$show['picture_nav']">
	<div class="smallfont" align="center" style="margin-top: $stylevar[cellpadding]px">
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[prev_pictureid]">$pic_location[prev_text]</a> |
		<a href="group.php?$session[sessionurl]do=picture&amp;groupid=$group[groupid]&amp;pictureid=$pic_location[next_pictureid]">$pic_location[next_text]</a>
	</div>
</if>

								
$footer
</body>
</html>]]></template>
		<template name="socialgroups_pictures" templatetype="template" date="1203004061" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

<if condition="$pagenav"><div style="margin-bottom:3px">$pagenav</div></if>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->
		
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['add_pictures_link']"><a class="smallfont" style="float: $stylevar[right]" href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures]</a></if>
		<phrase 1="$group[name]">$vbphrase[pictures_from_group_x]</phrase>
	</td>
</tr>
<tr>
	<td class="alt1 floatcontainer" id="picturebits">
		<if condition="$picturebits">
			$picturebits
		<else />
			$vbphrase[no_pictures_added_group_yet]
			<if condition="$show['add_pictures_link']"><a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures_to_this_group]</a></if>
		</if>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$pagenav"><div style="margin-top:3px">$pagenav</div></if>

$footer
</body>
</html>]]></template>
		<template name="socialgroups_search" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body>
$header
$navbar
		
<form action="group.php?$session[sessionurl]do=grouplist" method="post">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center" style="margin-top:20px" width= "100%">
<tr>
	<td class="tcat">$vbphrase[advanced_search]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
		<div class="panel">
		<table style="width:$stylevar[formwidth]" align="center" border="0" cellpadding="0" cellspacing="0">
		<tr valign="top">
			<td width="50%">
				<fieldset class="fieldset">
					<legend>$vbphrase[search_by_key_word]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="filter_keywords">$vbphrase[key_words]:</label></div>
						<div><input type="text" class="bginput" name="filtertext" id="filter_keywords" size="35" value="$filters[text]" style="width:250px" /></div>
					</div>
				</fieldset>
				<fieldset class="fieldset">
					<legend>$vbphrase[find_groups_with]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<select name="memberless" style="width:150px">
							<option value="0">$vbphrase[at_least]</option>
							<option value="1">$vbphrase[at_most]</option>
						</select>
						<input type="text" class="bginput" style="font-size:11px" name="memberlimit" size="3" value="$memberlimit" /> $vbphrase[members]
					</div>
				</fieldset>
			</td>
			<td width="50%">
				<fieldset class="fieldset">
					<legend>$vbphrase[creation_date_filter]</legend>
					<div style=" padding:$stylevar[formspacer]px">
						<div>$vbphrase[date_is_before]</div>
						<table cellpadding="0" cellspacing="2" border="0">
						<tr>
							<td class="smallfont">
								<div><label for="filter_date_lteq_month">$vbphrase[month]</label></div>
								<div>
									<select name="filter_date_lteq[month]" id="filter_date_lteq_month" class="bginput">
										<option value="0">---</option>
										<option value="1">$vbphrase[january]</option>
										<option value="2">$vbphrase[february]</option>
										<option value="3">$vbphrase[march]</option>
										<option value="4">$vbphrase[april]</option>
										<option value="5">$vbphrase[may]</option>
										<option value="6">$vbphrase[june]</option>
										<option value="7">$vbphrase[july]</option>
										<option value="8">$vbphrase[august]</option>
										<option value="9">$vbphrase[september]</option>
										<option value="10">$vbphrase[october]</option>
										<option value="11">$vbphrase[november]</option>
										<option value="12">$vbphrase[december]</option>
									</select>
								</div>
							</td>
							<td class="smallfont">
								<div><label for="filter_date_lteq_day">$vbphrase[day]</label></div>
								<div><input type="text" class="bginput" name="filter_date_lteq[day]" id="filter_date_lteq_day" value="$filter_date_lteq[day]" size="4" maxlength="2" /></div>
							</td>
							<td class="smallfont">
								<div><label for="filter_date_lteq_year">$vbphrase[year]</label></div>
								<div><input type="text" class="bginput" name="filter_date_lteq[year]" id="filter_date_lteq_year" value="$filter_date_lteq[year]" size="4" maxlength="4" /></div>
							</td>
						</tr>
						</table>
						<div>$vbphrase[date_is_after]</div>
						<table cellpadding="0" cellspacing="2" border="0">
						<tr>
							<td class="smallfont">
								<div>
									<label for="filter_date_gteq_month">$vbphrase[month]</label>
								</div>
								<div>
									<select name="filter_date_gteq[month]" id="filter_date_gteq_month" class="bginput">
										<option value="0">---</option>
										<option value="1">$vbphrase[january]</option>
										<option value="2">$vbphrase[february]</option>
										<option value="3">$vbphrase[march]</option>
										<option value="4">$vbphrase[april]</option>
										<option value="5">$vbphrase[may]</option>
										<option value="6">$vbphrase[june]</option>
										<option value="7">$vbphrase[july]</option>
										<option value="8">$vbphrase[august]</option>
										<option value="9">$vbphrase[september]</option>
										<option value="10">$vbphrase[october]</option>
										<option value="11">$vbphrase[november]</option>
										<option value="12">$vbphrase[december]</option>
									</select>
								</div>
							</td>
							<td class="smallfont">
								<div><label for="filter_date_gteq_day">$vbphrase[day]</label></div>
								<div><input type="text" class="bginput" name="filter_date_gteq[day]" id="filter_date_gteq_day" value="$filter_date_gteq[day]" size="4" maxlength="2" /></div>
							</td>
							<td valign="top" class="smallfont">
								<div><label for="filter_date_gteq_year">$vbphrase[year]</label></div>
								<div><input type="text" class="bginput" name="filter_date_gteq[year]" id="filter_date_gteq_year" value="$filter_date_gteq[year]" size="4" maxlength="4" /></div>
							</td>
						</tr>
						</table>
					</div>
				</fieldset>
			</td>
		</tr>
		</table>
		</div>
		
		<div style="margin-top: $stylevar[cellpadding]px;">
			<input type="submit" class="button" value="$vbphrase[search_groups]" />
		</div>
	</td>
</tr>	
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="dofilter" value="1" />

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="الإشتراك بالموضوع/Subscribed Thread">
		<template name="SUBSCRIBE" templatetype="template" date="1205568634" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<if condition="$colspan++"></if>
<!-- topic table -->
<form action="subscription.php?do=viewsubscription&amp;type=thread" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="viewsubscription" />
<input type="hidden" name="type" value="thread" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('subslistinfo')"><img id="collapseimg_subslistinfo" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_subslistinfo].gif" alt="" border="0" /></a>
			$vbphrase[subscribed_threads_in_folder]<span class="normal">: <span id="nav_subsfolders.listinfo"><if condition="$show['allfolders']">$vbphrase[all]<else />$folder</if> <script type="text/javascript"> vbmenu_register("nav_subsfolders.listinfo"); </script></span></span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_subslistinfo" style="$vbcollapse[collapseobj_subslistinfo]">
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[folder_controls]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>
					$vbphrase[jump_to_folder]:<br />
					<select name="folderid" onchange="window.location=('subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid='+this.options[this.selectedIndex].value)">
					$folderjump
					</select>$gobutton
				</td>
			</tr>
			<tr>
				<td>
					<a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;daysprune=-1&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a> |
					<a href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a>
				</td>
			</tr>
			</table>
		</fieldset>
		
		</div>
	</div>
	</td>
</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>

<br />

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<!-- topic table -->
<form action="subscription.php?do=dostuff&amp;folderid=$folderid" method="post" name="form">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="dostuff" />
<input type="hidden" name="folderid" value="$folderid" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="$colspan">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[threads]</strong>: $totalallthreads</span>
		$vbphrase[subscribed_threads_in_folder]<span class="normal">: <span id="nav_subsfolders.threadlist"><if condition="$show['allfolders']">$vbphrase[all]<else />$folder</if> <script type="text/javascript"> vbmenu_register("nav_subsfolders.threadlist"); </script></span></span>
	</td>
</tr>
<if condition="$show['havethreads']">
<tr>
	<if condition="$show['threadicons']">
		<td class="thead" colspan="2">&nbsp;</td>
	<else />
		<td class="thead">&nbsp;</td>
	</if>
	<td class="thead" width="100%">
		<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] </td>
<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
	<!--<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</td>-->
	<!--<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</td>-->
	<td class="thead">$vbphrase[notification]</td>
	<td class="thead"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onclick="checkall(this.form);" /></td>
</tr>
$threadbits
<tr>
	<td class="tfoot" colspan="$colspan" align="$stylevar[right]"><div class="smallfont">
		
		$vbphrase[selected_threads]:
		<select name="what">
			<optgroup label="$vbphrase[move_delete_subscriptions]">
				<option value="move">$vbphrase[move_to_folder]...</option>
				<option value="delete">$vbphrase[delete_subscription]</option>
			</optgroup>
			<optgroup label="$vbphrase[update_subscription_type]">
				<option value="update0">$vbphrase[no_email_notification]</option>
				<option value="update1">$vbphrase[instant_email_notification]</option>
				<option value="update2">$vbphrase[daily_email_notification]</option>
				<option value="update3">$vbphrase[weekly_email_notification]</option>
			</optgroup>							
		</select>$gobutton
		
	</div></td>
</tr>
<else />
	<tr>
		<td class="alt1" align="center" colspan="6">
			<br />
			$vbphrase[folder_is_currently_empty]
			<br />
			<br />
		</td>
	</tr>
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>
<!-- / topic table -->

<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<br />

<!-- icon key and forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td width="100%">
		<!-- icon key -->
		<table cellpadding="2" cellspacing="0" border="0">
		<tr align="$stylevar[left]">
			<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
			<td class="smallfont">$vbphrase[new_posts]</td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
			<td class="smallfont">$vbphrase[no_new_posts]</td>
		</tr>
		<if condition="$vboptions['usehotthreads']">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="$vbphrase[hot_thread_with_new_posts]" border="0" /></td>
			<td class="smallfont"><phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase></td>
		</tr>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="$vbphrase[hot_thread_with_no_new_posts]" border="0" /></td>
			<td class="smallfont"><phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase></td>
		</tr>
		</if>
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
			<td class="smallfont">$vbphrase[thread_is_closed]</td>
		</tr>
		<if condition="$show['dotthreads']">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
			<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
		</tr>
		</if>
		</table>
		<!-- / icon key -->
	</td>
	
	<td>$forumjump</td>
</tr>
</table>
<!-- / icon key and forum jump -->]]></template>
		<template name="subscribe_choosetype" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="subscription.php?do=doaddsubscription&amp;{$type}id=$id" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="doaddsubscription" />
<input type="hidden" name="{$type}id" value="$id"  />
<input type="hidden" name="url" value="$url"  />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['subscribetothread']">
			$vbphrase[subscribe_to_thread]<span class="normal">: $threadinfo[prefix_plain_html] $threadinfo[title]</span>
		<else />
			$vbphrase[subscribe_to_forum]<span class="normal">: $foruminfo[title]</span>
		</if>
	</td>
</tr>
<tr valign="top">
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
			<tr>
				<td>
					$vbphrase[notification_type]:<br />
					<select name="emailupdate">
						<option value="0" $emailselected[0]>$vbphrase[no_email_notification]</option>
						<if condition="$show['subscribetothread']">
						<option value="1" $emailselected[1]>$vbphrase[instant_notification_by_email]</option>
						</if>
						<option value="2" $emailselected[2]>$vbphrase[daily_updates_by_email]</option>
						<option value="3" $emailselected[3]>$vbphrase[weekly_updates_by_email]</option>
					</select>
				</td>
			</tr>
			<if condition="$show['folders']">
			<tr>
				<td>
					$vbphrase[folder]:<br />
					<select name="folderid">
						$folderbits
					</select>
				</td>
			</tr>
			</if>
			</table>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[add_subscription]" accesskey="s" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="subscribe_move" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="subscription.php?do=movethread" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="movethread"  />
<input type="hidden" name="ids" value="$ids" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[move_subscribed_threads]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend><phrase 1="$numthreads" 2="$fromfolder">$vbphrase[move_x_items_from_y]</phrase></legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[select_destination_folder_for_move]</td>
				</tr>
				<tr>
					<td>
						$vbphrase[folder_name]:<br />
						<select name="folderid">$folderoptions</select>
					</td>
				</tr>
				</table>
			</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[move_items]" accesskey="s" />
		<input type="button" class="button" value="$vbphrase[cancel]" accesskey="c" onclick="history.back(1)" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
		<template name="subscribe_showfolders" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<form action="subscription.php?do=doeditfolders" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="doeditfolders" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[edit_folders]</td>
</tr>
<tr valign="top">
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
		
		<if condition="$show['customfolders']">
			<fieldset class="fieldset">
				<legend>$vbphrase[your_folders]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">			
				$folderboxes
				<tr>
					<td>$vbphrase[to_rename_a_folder]</td>
				</tr>
				<tr>
					<td><phrase 1="$defaultfolder">$vbphrase[to_delete_a_folder_subs]</phrase></td>
				</tr>
				</table>
			</fieldset>
		</if>
		
		<fieldset class="fieldset">
			<legend>$vbphrase[add_new_folders]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			$newfolderboxes
			<tr>
				<td>$vbphrase[to_add_a_new_folder]</td>
			</tr>
			</table>
		</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
	<input type="hidden" name="do" value="doeditfolders" />
		<input type="submit" class="button" value="$vbphrase[save_folders]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</form>]]></template>
	</templategroup>
	<templategroup name="التحكم بالموضوع/Thread Administration">
		<template name="THREADADMIN" templatetype="template" date="1198370784" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$pagetitle - $vboptions[bbtitle]</title>
<script type="text/javascript">
<!--
$parentpostassoc

function CheckChildren(postid, value)
{
	// check this box
	fetch_object("checkpost" + postid).checked = value;

	// check check children
	for (i in parentassoc)
	{
		if (parentassoc[i] == postid)
		{
			CheckChildren(i, value);
		}
	}

	return false;
}
function CheckAllPosts(formobj)
{
	for (var i = 0; i < formobj.elements.length; i++)
	{
		element = formobj.elements[i];
		if (element.type == "checkbox" && element.name.indexOf("checkpost") == 0)
		{
			element.checked = formobj.allbox.checked;
		}
	}
}
//-->
</script>
</head>
<body$onload>
$header
$navbar

$HTML

$footer
</body>
</html>]]></template>
		<template name="threadadmin_movethread" templatetype="template" date="1198470037" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<form action="postings.php?do=domovethread&amp;t=$threadid" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="domovethread" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><if condition="$show['move']">$vbphrase[move_thread]<else />$vbphrase[copy_thread]</if></td>
</tr>
<tr>
	<td class="thead">$vbphrase[title]: <span style="font-weight:normal">$threadinfo[prefix_plain_html] $threadinfo[title]</span></td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[new_subject]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
			
			<div class="fieldset">
			$vbphrase[may_rename_thread]<br />

			$vbphrase[new_subject]:<br />
			<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" />
				
			</div>
			
			</div>
		</fieldset>
		
		<fieldset class="fieldset">
			<legend>$vbphrase[destination_forum]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
			
			<div class="fieldset">
			$vbphrase[destination_forum]:<br />
			<select name="destforumid">
				$moveforumbits
			</select>
			</div>
			
			</div>
		</fieldset>
			
		<if condition="$show['move']">
		<fieldset class="fieldset">
			<legend>$vbphrase[redirect]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
			
			<div class="fieldset">
					<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
					<img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in] 
					<select name="period">
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						<option value="7">7</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
					</select>
					
					<select name="frame">
						<option value="h">$vbphrase[hours]</option>
						<option value="d">$vbphrase[days]</option>
						<option value="w">$vbphrase[weeks]</option>
						<option value="m" selected="selected">$vbphrase[months]</option>
						<option value="y">$vbphrase[years]</option>
					</select>
			</div>
			
			<div class="fieldset">
				$vbphrase[redirect_title]:<br />
				<if condition="$prefix_options">
					<select name="redirectprefixid" class="bginput">
						<option value="">$vbphrase[no_prefix_meta]</option>
						$prefix_options
					</select>
				</if>
				<input type="text" class="bginput" name="redirecttitle" value="$title" size="50" maxlength="85" />
			</div>
			
			</div>
		</fieldset>
		</if>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="<if condition="$show['move']">$vbphrase[move_thread]<else />$vbphrase[copy_thread]</if>" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>]]></template>
		<template name="threadadmin_movethreads" templatetype="template" date="1198470014" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<form action="inlinemod.php?do=domovethreads&amp;threadids=$threadids" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="threadids" value="$threadids" />
<input type="hidden" name="do" value="domovethreads" />
<input type="hidden" name="url" value="$url" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[move_threads]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
		
		<fieldset class="fieldset">
			<legend>$vbphrase[destination_forum]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
			
			<div class="fieldset">
			$vbphrase[destination_forum]:<br />
				<select name="destforumid">
					$moveforumbits
				</select>
			</div>
			
			</div>
		</fieldset>
		
		<fieldset class="fieldset">
			<legend>$vbphrase[redirect]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
			
			<div class="fieldset">
			<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
			<img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in] 
			<select name="period">
				<option value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
			</select>
			
			<select name="frame">
				<option value="h">$vbphrase[hours]</option>
				<option value="d">$vbphrase[days]</option>
				<option value="w">$vbphrase[weeks]</option>
				<option value="m" selected="selected">$vbphrase[months]</option>
				<option value="y">$vbphrase[years]</option>
			</select>
			</div>
			
			</div>
		</fieldset>
		
		<fieldset class="fieldset">
			<legend>$vbphrase[notes]</legend>
			
			<div style="padding:$stylevar[formspacer]px">
				<div class="fieldset"><phrase 1="$threadcount" 2="$forumcount">$vbphrase[moving_x_threads_from_y_forums]</phrase></div>
				<div class="fieldset">$vbphrase[moving_moderated_and_soft_deleted_threads]</div>
				<div class="fieldset">$vbphrase[you_must_have_the_required_permission]</div>
			</div>
	
			
		</fieldset>	
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[move_threads]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>]]></template>
	</templategroup>
	<templategroup name="الموضوع/Threadbit">
		<template name="threadbit" templatetype="template" date="1208672003" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<tr>
	<td class="alt1" id="td_threadstatusicon_$thread[realthreadid]">
		$thread[openclose_editable]
		<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
	</td>
	<if condition="$show['threadicons']">
		<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
	</if>

	<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

		$thread[title_editable]
		<div>
			<if condition="$thread['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
				<span style="float:$stylevar[right]">
					<if condition="$thread['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]" /> </if>
					<if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
					<if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
					<if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
					<if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
					<if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
					<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
				</span>
			</if>
			<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
			$thread[movedprefix]
			$thread[typeprefix]
			$thread[moderatedprefix]
			$thread[prefix_rich]
			<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
			<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
		</div>
		<if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>

		<div class="smallfont">
			<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
		<if condition="$show['unsubscribe']">
			<div class="smallfont">
				<a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
				<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
			</div>
		</if>

	</td>

<!-- هاك عام ـ الكاتب في عمود مستقل -->
<td class="alt2" align="center" nowrap="nowrap">
<if condition="$show['guestuser']">
$thread[postusername]
<else />
<a href="member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a>
</if></td>
<!-- هاك عام ـ الكاتب في عمود مستقل -->

	<if condition="$show['threadmoved']">
	<td class="alt2" align="center">-</td>
	<else />
	<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
		<div class="smallfont" style="text-align:$stylevar[left];">
  <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
			<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>
			في : $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
		</div>
	</td>
	</if>

	<if condition="$show['notificationtype']">
		<td class="alt1"><div class="smallfont">
			<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
		</div></td>
		<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
	<else />
		<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="misc.php?do=whoposted&amp;t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
		<td class="alt2" align="center">$thread[views]</td>

		<if condition="$show['forumlink']">
			<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
		</if>
	</if>

	<if condition="$show['inlinemod']">
		<td class="<if condition="$show['forumlink']">alt2<else />alt1</if>">
			<input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
		</td>
	</if>
</tr>]]></template>
		<template name="threadbit_announcement" templatetype="template" date="1205565224" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<tr>
	<td class="alt1"><img src="$stylevar[imgdir_statusicon]/announcement_$announcement[statusicon].gif" border="0" alt="$vbphrase[announcement]" /></td>
	<td class="alt2" colspan="15">
		<div>
			<span class="smallfont" style="float:$stylevar[right]">$vbphrase[views]: <strong>$announcement[views]</strong> <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[view_announcement]" border="0" /></a></span>
			<strong>$vbphrase[announcement]</strong>: <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink">$announcement[title]</a>
		</div>
		<div>
			<span style="float:$stylevar[right]"><if condition="$show['forumtitle']"><a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> </if><span class="smallfont">$announcement[postdate]</span></span>
			<span class="smallfont">
				<a href="member.php?$session[sessionurl]u=$announcement[userid]">$announcement[username]</a>
				<if condition="$announcement['usertitle'] != ''">($announcement[usertitle])</if>
			</span>
		</div>
	</td>
</tr>]]></template>
		<template name="threadbit_deleted" templatetype="template" date="1205566637" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<tr>
	<td class="alt1"><img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="" /></td>

	<if condition="$show['threadicons']">
		<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
	</if>

	<td class="alt1">

		<div class="smallfont">
			<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" />&nbsp;&nbsp;</span>
			<if condition="$show['managethread']"><span style="float:$stylevar[right]">&nbsp;&nbsp;<a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[threadid]">$vbphrase[manage]</a>&nbsp;&nbsp;</span></if>
			<if condition="$show['moderated']"><span style="float:$stylevar[right]">&nbsp;&nbsp;<img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /></span></if>
			<if condition="$show['viewthread']"><span style="float:$stylevar[right]" class="smallfont"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]">$vbphrase[view]</a></span></if>
			$thread[typeprefix]
			$thread[prefix_rich]
			<if condition="$show['threadtitle']"><em>$thread[threadtitle]</em></if>
		</div>

</td>
<td class="alt2" align="center" nowrap="nowrap">
			<if condition="$show['guestuser']">
				$thread[postusername]
			<else />
				<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
			</if>
	</td>

	<td class="alt2" colspan="3" align="center">
		<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$thread[del_userid]" 2="$thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></div>
		<if condition="$show['deletereason']">
			<div class="smallfont">$vbphrase[reason]: <em>$thread[del_reason]</em></div>
		</if>
	</td>

	<if condition="$show['forumlink']">
		<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
	</if>

	<if condition="$show['inlinemod']">
		<td class="alt1">
			<input type="checkbox" name="tlist[$thread[threadid]]" id="tlist_$thread[threadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
		</td>
	</if>
</tr>]]></template>
	</templategroup>
	<templategroup name="لوحة تحكم العضو">
		<template name="USERCP" templatetype="template" date="1205568902" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[$template_hook[usercp_main_pos1]

<if condition="$show['pendingfriendrequests'] OR $show['privatemessages'] OR $show['newvisitormessages'] OR $show['groupattention'] OR $show['invitedgroups']">

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
	<td colspan="2" class="tcat">$vbphrase[user_notifications]</td>
</tr>
</thead>

<if condition="$show['privatemessages']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
			<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
		$messagelistbits
	</tbody>
</if>
<if condition="$show['newvisitormessages']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_visitormessages')"><img id="collapseimg_usercp_visitormessages" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_visitormessages].gif" alt="" border="0" /></a>
			<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=visitor_messaging#visitor_messaging">$vbphrase[new_visitor_messages]</a><span class="normal">: ($newvisitormessages)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_visitormessages" style="$vbcollapse[collapseobj_usercp_visitormessages]">
		$newvisitormessagebits
	</tbody>
</if>
<if condition="$show['pendingfriendrequests']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_friends')"><img id="collapseimg_usercp_friends" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_friends].gif" alt="" border="0" /></a>
			<a href="profile.php?$session[sessionurl]do=buddylist">$vbphrase[pending_friend_requests]</a><span class="normal">: ($pendingfriendrequests)</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_friends" style="$vbcollapse[collapseobj_usercp_friends]">
	<tr>
		<td class="alt1" colspan="2">$pendingfriendstext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="profile.php?$session[sessionurl]do=buddylist">$vbphrase[manage_your_friend_requests]</a></td>
	</tr>
	</tbody>
</if>
<if condition="$show['groupattention']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_groups')"><img id="collapseimg_usercp_groups" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_groups].gif" alt="" border="0" /></a>
			$vbphrase[the_following_groups_need_attention]<span class="normal">: ($groupsneedattention)</span>
		</td>
	<tbody id="collapseobj_usercp_groups" style="$vbcollapse[collapseobj_usercp_groups]">
	<tr>
		<td class="alt1" colspan="2">$groupsawaitingtext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="group.php?$session[sessionurl]do=requests">$vbphrase[view_group_requests]</a></td>
	</tr>
	</tbody>
</if>
<if condition="$show['invitedgroups']">
	<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_groupsinvited')"><img id="collapseimg_usercp_grounsinvited" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_groupsinvited].gif" alt="" border="0" /></a>
			$vbphrase[you_have_been_invited_to_the_following_groups]<span class="normal">: ($bbuserinfo[socgroupinvitecount])</span>
		</td>
	</tr>
	</tbody>
	<tbody id="collapseobj_usercp_groupsinvited" style="$vbcollapse[collapseobj_usercp_groupsinvited]">
	<tr>
		<td class="alt1" colspan="2">$invitetext</td>
	</tr>
	<tr>
		<td class="alt2 smallfont" align="$stylevar[right]" colspan="2"><a href="group.php?$session[sessionurl]do=invitations">$vbphrase[view_group_invitations]</a></td>
	</tr>
	</tbody>
</if>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
</if>

$template_hook[usercp_main_pos2]

<!-- ############## SUBSCRIBED THREADS ##############  -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="$subscribedthreadscolspan">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
			$vbphrase[new_subscribed_threads]<span class="normal">: ($numthreads)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
	<if condition="$show['threads']">
		<tr class="thead">
		
			<if condition="$show['threadicons']">
				<td class="thead" colspan="2">&nbsp;</td>
			<else />
				<td class="thead">&nbsp;</td>
			</if>
			
			<td class="thead" width="100%">$vbphrase[thread] </td>
			<td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td>
			<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
			<td class="thead" align="center">$vbphrase[replies]</td>
			<td class="thead" align="center">$vbphrase[views]</td>
		</tr>
		$threadbits
	<else />
		<tr>
			<td class="alt1" align="center" colspan="$subscribedthreadscolspan"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
		</tr>
	</if>
	<tr>
		<td align="$stylevar[right]" colspan="$subscribedthreadscolspan" class="tfoot">
		<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
		</td>
	</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- ############## END SUBSCRIBED THREADS ##############  -->

$template_hook[usercp_main_pos3]

<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ##############  -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
			$vbphrase[subscribed_forums]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
	<tr align="center" valign="bottom">
		<td class="thead" width="2%">&nbsp;</td>
		<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
		<td class="thead">$vbphrase[last_post]</td>
		<td class="thead">$vbphrase[threads]</td>
		<td class="thead">$vbphrase[posts]</td>
		<if condition="$vboptions['showmoderatorcolumn']">
		<td class="thead" width="20%">$vbphrase[moderator]</td>
		</if>
	</tr>
	$forumbits
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>

$template_hook[usercp_main_pos4]

<if condition="$show['infractions']">
<!-- ############## NEW INFRACTIONS ##############  -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="7">
			<span class="smallfont" style="float:$stylevar[right]">
				<phrase 1="$bbuserinfo[ipoints]">$vbphrase[x_points_total]</phrase>
				&nbsp; &nbsp;
				<a href="#top" onclick="return toggle_collapse('usercp_infraction')"><img id="collapseimg_usercp_infraction" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_infraction].gif" alt="" border="0" /></a>
			</span>
			$vbphrase[latest_infractions_received]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_infraction" style="$vbcollapse[collapseobj_usercp_infraction]">
	<tr>
		<td class="thead">&nbsp;</td>
		<td class="thead">$vbphrase[post]</td>
		<td class="thead">$vbphrase[date]</td>
		<td class="thead">$vbphrase[expires]</td>
		<td class="thead" nowrap="nowrap">$vbphrase[points]</td>
		<td class="thead">$vbphrase[reason]</td>
		<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
	</tr>
	$infractionbits
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- ############## END NEW INFRACTIONS ##############  -->
</if>

$template_hook[usercp_main_pos5]

<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ##############  -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="$reputationcolspan">
			<span class="smallfont" style="float:$stylevar[right]">
				<phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
				&nbsp; &nbsp;
				<a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
			</span>
			$vbphrase[latest_reputation_received]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
	<tr>
		<td class="thead">&nbsp;</td>
		<td class="thead">$vbphrase[thread]</td>
		<td class="thead">$vbphrase[date]</td>
		<if condition="$vboptions['showuserraters']">
		<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
		</if>
		<td class="thead">$vbphrase[comment]</td>
	</tr>
	$reputationcommentbits
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
<!-- ############## END NEW REPUTATION ##############  -->
</if>

$template_hook[usercp_main_pos6]

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100%">&nbsp;</td>
	<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>]]></template>
		<template name="USERCP_SHELL" templatetype="template" date="1203004064" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
	<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar

<!-- table to support left column nav -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">

<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->
<if condition="THIS_SCRIPT != 'private'">
<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->

<td>

<!-- usercp nav -->

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="tcat" nowrap="nowrap" width="220px"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>
<tr><td class="thead"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
	<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
	<if condition="$show['customizelink']">
	<tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
	</if>
	<if condition="$show['profilepiclink']">
	<tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
	</if>
<tr><td class="thead">$vbphrase[networking]</td></tr>
	<tr><td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=buddylist">$vbphrase[contacts_and_friends]</a></td></tr>
	<if condition="$show['socialgroupslink']">
	<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
	</if>
	<if condition="$show['publicgroups']">
	<tr><td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td></tr>
	</if>
	<if condition="$show['albumlink']">
	<tr><td class="$navclass[album]" nowrap="nowrap"><a class="smallfont" href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
	</if>
<tr><td class="thead">$vbphrase[settings_and_options]</td></tr>
	<if condition="$show['avatarlink']">
	<tr><td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
	</if>
	<if condition="$show['siglink']">
	<tr><td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr>
	</if>
	<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
	<tr><td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
	<tr><td class="$navclass[ignorelist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=ignorelist">$vbphrase[edit_ignore_list]</a></td></tr>
<if condition="$show['pmmainlink']">
<tr>
	<td class="thead" nowrap="nowrap">
	<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
	<if condition="$show['popups']">			
		<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
			<table cellpadding="4" cellspacing="1" border="0">
			<tr>
				<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
			</tr>
			$cpnav[pmfolders]
			</table>
		</div>
	</if>
	</td>
</tr>
	<tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
	<if condition="$show['pmsendlink']">
	<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
	</if>
	<if condition="$show['pmtracklink']">
	<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
	</if>
	<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
<tr>
	<td class="thead" nowrap="nowrap">
		<span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span>
		<if condition="$show['popups']">
			<div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
				<table cellpadding="4" cellspacing="1" border="0">
				<tr>
					<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
				</tr>
				$cpnav[subsfolders]
				</table>
			</div>
		</if>
	</td>
</tr>
	<tr><td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td></tr>
	<tr><td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
	<tr><td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td></tr>
	<if condition="$show['paidsubscriptions']">
	<tr><td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td></tr>
	</if>
	<if condition="$show['attachments']">
	<tr><td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr>
	</if>
<if condition="$show['moderation']">
<tr><td class="thead">$vbphrase[moderation]</td></tr>
	<if condition="$show['deleteditems']">
	<tr><td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted">$vbphrase[deleted_threads]</a></td></tr>
	<tr><td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted">$vbphrase[deleted_posts]</a></td></tr>
	<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewmessages&amp;type=deleted">$vbphrase[deleted_messages]</a></td></tr>	
	</if>
	<if condition="$show['moderateditems']">
	<tr><td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated">$vbphrase[moderated_threads]</a></td></tr>
	<tr><td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated">$vbphrase[moderated_posts]</a></td></tr>
	</if>
	<if condition="$show['moderatedmessages']">
	<tr><td class="$navclass[moderatedmessages]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewmessages&amp;type=moderated">$vbphrase[moderated_messages]</a></td></tr>
	</if>		
</if>
$template_hook[usercp_navbar_bottom]
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<!-- / usercp nav -->

</td>
<td>&nbsp;&nbsp;</td>

<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->
</if>
<!-- هاك عام ـ إزالة القائمة يمين في لوحة التحكم مع الرسائل الخاصة -->

<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->
	
</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>]]></template>
	</templategroup>
	<templategroup name="مخالفات العضو">
		<template name="userinfraction" templatetype="template" date="1198370822" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[user_infraction] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<if condition="$show['pm']">
<form action="infraction.php?do=update" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 0)"</if>>
<else />
<form action="infraction.php?do=update" method="post">
</if>

<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$foruminfo[forumid]"><span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span></if>
		$vbphrase[user_infraction]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">	
		
			<fieldset class="fieldset">
				<legend>$userinfo[username]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="<if condition="$show['groups'] OR $show['possiblegroups']">90%<else />25%</if>" align="center">
				<tr>
					<td nowrap="nowrap">$vbphrase[infractions_active_total]</td>
					<td nowrap="nowrap"><strong>$userinfo[infractions] / $totalinfractions</strong></td>
				</tr>
				<tr>
					<td>$vbphrase[points]</td>
					<td><strong>$userinfo[ipoints]</strong></td>
				</tr>				
				<tr>
					<td>$vbphrase[warnings]</td>
					<td><strong>$userinfo[warnings]</strong></td>
				</tr>
				<if condition="$show['groups']">
				<tr>
					<td nowrap="nowrap" width="40%">$vbphrase[current_infraction_groups]</td>
					<td><strong>$infractiongroups</strong></td>
				</tr>
				</if>
				<if condition="$show['possiblegroups']">
	
				<tr>
					<td nowrap="nowrap" width="40%">$vbphrase[possible_infraction_groups]</td>
					<td><phrase 1="$firstgroup" 2="$firstpoints">$vbphrase[x_y_points]</phrase></td>
				</tr>
				<if condition="$show['moregroups']">
					$moregroups
				</if>
				</if>
				</table>
			</fieldset>
		</div>		
	
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">	
		

			<fieldset class="fieldset">
				<legend>$vbphrase[infraction_level]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="75%" align="center">
				<tr>
					<td width="45%"><strong>$vbphrase[title]</strong></td>
					<if condition="$show['count']"><td width="10%" align="center"><strong>$vbphrase[active]</strong></td></if>
					<td width="10%" align="center"><strong>$vbphrase[points]</strong></td>
					<td width="15%" align="center"><strong>$vbphrase[expires]</strong></td>
					<td width="10%" nowrap="nowrap"><strong>$vbphrase[warning]</strong></td>
				</tr>
				$infractionbits
				<if condition="$show['custominfraction']">
				<tr>
					<td colspan="<if condition="$show['count']">5<else />4</if>"><strong>$vbphrase[custom_infraction]</strong></td>
				</tr>
				<tr>
					<td colspan="<if condition="$show['count']">5<else />4</if>">
					<table cellpadding="0" cellspacing="1" border="0" align="center" width="75%">
					<tr>
						<if condition="$infractionbits"><td valign="top"><input type="radio" name="infractionlevelid" value="0" $checked_inf tabindex="1" /></td></if>
						<td>$vbphrase[reason]<br /><input type="text" class="bginput" name="customreason" value="$customreason" size="40" tabindex="1" /></td>
						<td valign="top" align="center" style="padding-$stylevar[left]: 5px">$vbphrase[points]<br /><input type="text" class="bginput" name="points" value="$custompoints" size="1" style="width: 1.5em" tabindex="1" /></td>
						<td valign="top" style="padding-$stylevar[left]: 5px" nowrap="nowrap">$vbphrase[expires]<br /><input type="text" class="bginput" name="expires" value="$customexpires" size="1" style="width: 1.5em" tabindex="1" /> <select name="period" tabindex="1">
							<option value="H" $periodselected[H]>$vbphrase[hours]</option>
							<option value="D" $periodselected[D]>$vbphrase[days]</option>
							<option value="M" $periodselected[M]>$vbphrase[months]</option>
							<option value="N" $periodselected[N]>$vbphrase[never]</option>
						</select></td>
						<td width="100%">&nbsp;</td>
					</tr>			
					</table>					
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
	
			<if condition="$show['banreason']">
			<fieldset class="fieldset">
				<legend>$vbphrase[automatic_ban]</legend>
	
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="75%" align="center">
				<tr>
					<td width="45%" nowrap="nowrap"><strong>$vbphrase[ban_usergroup]</strong></td>
					<td width="10%" align="center"><strong>$vbphrase[points]</strong></td>
					<td width="10%" align="center"><strong>$vbphrase[infractions]</strong></td>
					<td width="10%" nowrap="nowrap" align="$stylevar[right]"><strong>$vbphrase[ban_period]</strong></td>
				</tr>
				$banbits
				<tr>
					<td colspan="4"><strong>$vbphrase[ban_reason]</strong></td>
				</tr>
				<tr>
					<td colspan="4">
						<input type="text" class="bginput" name="banreason" value="$banreason" size="40" tabindex="1" />
					</td>
				</tr>
				</table>

			</fieldset>				
			</if>
	
		</div>		
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="p" value="$postinfo[postid]" />
		<input type="hidden" name="u" value="$userinfo[userid]" />
		<input type="hidden" name="do" value="update" />
		<input type="hidden" name="url" value="$url" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[give_infraction]" accesskey="s" tabindex="1" />
	</div>	
	
	</td>
</tr>
</table>


<br />

$postpreview

<if condition="$show['pm']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		$vbphrase[post_new_private_message]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">		

		<!-- note field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[administrative_note]</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="note" value="$note" size="50" tabindex="1" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / note field -->

		<!-- message area -->
		<div class="smallfont">$vbphrase[message_to_user]</div>		
		$messagearea
		<!-- / message area -->
		
		$posticons
		
		</div>
	</div>
			
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[give_infraction]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
	</div>
	</td>
</tr>
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a name="options" style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
		$vbphrase[additional_options]
	</td>
</tr>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
				
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['trackpm']"><div><label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" $checked[receipt] />$vbphrase[request_receipt_for_message]</label></div></if>
						<div><label for="cb_savecopy"><input type="checkbox" name="savecopy" value="1" id="cb_savecopy" tabindex="1" $checked[savecopy] /><phrase 1="private.php?$session[sessionurl]folderid=-1">$vbphrase[save_copy_in_sent_items_folder]</phrase></label></div>
						<if condition="$bbuserinfo['signature']"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<br />

$forumrules
<else />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		$vbphrase[send_new_message]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">		

		<!-- note field -->
		<div class="fieldset">
			$vbphrase[administrative_note]<br />
			<input type="text" class="bginput" name="note" value="$note" size="50" tabindex="1" />
		</div>
		<!-- / note field -->	

		<if condition="$show['email']">
			<!-- message area -->
			<div class="fieldset">
				$vbphrase[message_to_user]<br />
				<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$postmessage</textarea>
			</div>
			<!-- / message area -->	
		</if>
				
		</div>
	</div>
			
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[give_infraction]" accesskey="s" tabindex="1" />
	</div>
	</td>
</tr>
</table>
</if>

</form>

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="رسائل الزوار">
		<template name="visitormessage_editor" templatetype="template" date="1198370844" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$pagetitle - $vboptions[bbtitle]</title>
</head>
<body>
$header

$navbar

<if condition="$show['delete']">
<form action="visitormessage.php?do=deletemessage&amp;vmid=$messageinfo[vmid]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="vmid" value="$messageinfo[vmid]" />
<input type="hidden" name="do" value="deletemessage" />
<input type="hidden" name="u" value="$userinfo[userid]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a>
		$vbphrase[delete_message]
	</td>
</tr>
<tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

			<div class="fieldset">$vbphrase[delete_message_check_appropriate_option]</div>

			<fieldset class="fieldset">
				<legend>$vbphrase[deletion_options]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<label for="rb_del_leave"><input type="radio" name="deletemessage" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
					</div>
					<div>
						<label for="rb_del_soft"><input type="radio" name="deletemessage" value="soft" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
					</div>
					<if condition="$show['physicaldeleteoption']">
					<div>
						<label for="rb_del_hard"><input type="radio" name="deletemessage" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
					</div>
					</if>
				</div>
			</fieldset>

			<div class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</div>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[delete]" tabindex="1" accesskey="d" />
		</div>

		</td>
	</tr>
</tbody>
</table>
</form>
<br />
</if>

$postpreview

<form action="visitormessage.php?do=message" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$show['edit']"><span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[user]</strong>: <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[username]</a></span>
		$vbphrase[edit_message]$vbphrase[edit_visitor_message]
		<else />
		$vbphrase[post_a_message]$vbphrase[post_new_visitor_message]
		</if>
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

		$usernamecode

		$human_verify

		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>
		$messagearea
		<!-- / message area -->

		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="message" />
		<input type="hidden" name="vmid" value="$messageinfo[vmid]" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
		<input type="hidden" name="u" value="$userinfo[userid]" />
		<if condition="$show['edit']">
			<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />		
		<else />
			<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview_message]" accesskey="r" tabindex="1" />
		</if>
	</div>
	</td>
</tr>
</table>

<if condition="$show['additional_options']">
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

				<if condition="$show['misc_options']">
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
						<input type="submit" class="button" name="sbutton" value="$vbphrase[post_message]" accesskey="s" tabindex="1" />
			<input type="submit" class="button" name="preview" value="$vbphrase[preview]" accesskey="r" tabindex="1" />
		</div>
		</td>
	</tr>
</tbody>
</table>
</if>

</form>

<if condition="$messagebits">
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newmessage_dialog')"><img id="collapseimg_newmessage_dialog" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_nemessage_dialog].gif" alt="" border="0" /></a>
					$vbphrase[message_dialog]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newmessage_dialog" style="$vbcollapse[collapseobj_newmessage_dialog]">
	<tr valign="top">
		<td class="panelsurround">
		<div class="panel">

			$messagebits

		</div>
		</td>
	</tr>
</tbody>
</table>
</if>

<br />

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="المتواجدون الآن">
		<template name="WHOSONLINE" templatetype="template" date="1203004066" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$metarefresh
<title>$vbphrase[whos_online] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="woltable">
<tr>
	<td class="tcat" colspan="$colspan"><div class="smallfont">
		<span style="float:$stylevar[right]">
			<a href="$reloadurl"><strong>$vbphrase[reload_this_page]</strong></a>
		</span>	
		<strong><phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]</phrase></strong><br /><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase>
	</div></td>
</tr>
<tr>
	<td class="thead" >
		<span style="float:$stylevar[right]">
			<a href="$sorturl&amp;order=desc&amp;sort=time&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[last_activity]</a> $sortarrow[time]
		</span>
		<a href="$sorturl&amp;order=asc&amp;sort=username&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[username]</a> $sortarrow[username]
	</td>
	<td class="thead"><a href="$sorturl&amp;order=asc&amp;sort=location&amp;pp=$perpage&amp;page=$pagenumber">$vbphrase[location_temp]</a> $sortarrow[location]</td>
	<if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if>
	<if condition="$vboptions['showimicons']"><td class="thead" align="center">$vbphrase[instant_messaging]</td></if>
</tr>
$onlinebits
</table>

<if condition="$show['ajax_resolve']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_wolresolve.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_WolResolve_Init('woltable');
	//-->
	</script>
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tfoot" align="center">

		<form action="online.php" method="get">
		<input type="hidden" name="pp" value="$perpage" />		
		<input type="hidden" name="sortfield" value="$sortfield" />
		<input type="hidden" name="sortorder" value="$sortorder" />
		<div class="fieldset" style="margin:0px">
		
			<if condition="$vboptions['WOLguests']">
				$vbphrase[display]:
				<select name="who">
					<option value="all" $whoselected[0]>$vbphrase[all]</option>
					<option value="members" $whoselected[1]>$vbphrase[members]</option>
					<option value="guests" $whoselected[2]>$vbphrase[guests]</option>
					<if condition="$vboptions['enablespiders']">
						<option value="spiders" $whoselected[3]>$vbphrase[search_bots]</option>
					</if>
				</select>
				&nbsp; &nbsp;
			</if>
				
			<if condition="$show['ip']">
				$vbphrase[user_agent]:
				<select name="ua">
					<option value="1" $uaselected[1]>$vbphrase[yes]</option>
					<option value="0" $uaselected[0]>$vbphrase[no]</option>
				</select>
				&nbsp; &nbsp;
			</if>
				
			$vbphrase[per_page]:
			<input type="text" class="bginput" style="font-size:11px" name="pp" value="$perpage" size="2" />
			&nbsp; &nbsp;					
			
			<input type="submit" class="button" value="$vbphrase[display]" accesskey="s" />
		
		</div>
		</form>
	
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<br />

<!-- icons and forum jump -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
	<td width="100%">
		<table cellpadding="2" cellspacing="0" border="0">
		<col align="center"></col>
		<tr>
			<td><strong>+</strong></td>
			<td class="smallfont">&nbsp; $vbphrase[user_is_on_your_contact_list]</td>
		</tr>
		<if condition="$show['hidden']">
		<tr>
			<td><strong>*</strong></td>
			<td class="smallfont">&nbsp; $vbphrase[user_is_invisible_to_others]</td>
		</tr>
		</if>		
		<if condition="$show['badlocation']">
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_forum_closed]</td>
			</tr>
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_no_permission_message]</td>
			</tr>
			<tr>
				<td><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></td>
				<td class="smallfont">&nbsp; $vbphrase[viewing_error_message]</td>
			</tr>
		</if>
		</table>
	</td>
	<td>	
		$forumjump
	</td>
</tr>
</table>
<!-- / icons and forum jump -->

$footer

</body>
</html>]]></template>
	</templategroup>
	<templategroup name="Ungrouped Templates">
		<template name="activateform" templatetype="template" date="1198370093" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[activate_your_account] - $vboptions[bbtitle]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>

<form action="register.php?do=activate" method="post">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[activate_your_account]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[activate_your_account]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>
					$vbphrase[username]:<br />
					<input type="text" class="bginput" size="50" name="username" value="$bbuserinfo[username]" />
				</td>
			</tr>
			<tr>
				<td>
					$vbphrase[activation_code]:<br />
					<input type="text" class="bginput" size="50" name="activateid" />
				</td>
			</tr>
			</table>
		</fieldset>
		
		<div class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
			<phrase 1="register.php?$session[sessionurl]do=requestemail">$vbphrase[you_lost_activation_code_or_username]</phrase>
		</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="activate" />
		<input type="submit" class="button" value="$vbphrase[activate_your_account]" accesskey="s" />
		<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>]]></template>
		<template name="activate_requestemail" templatetype="template" date="1198370119" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[email_activation_codes] - $vboptions[bbtitle]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>

<form action="register.php?do=emailcode" method="post">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[email_activation_codes]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
		<fieldset class="fieldset">
			<legend>$vbphrase[email_activation_codes]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td>$vbphrase[request_activation_code_sent_email]</td>
			</tr>
			<tr>
				<td>
					$vbphrase[email_address]:<br />
					<input type="text" class="bginput" name="email" value="$email" size="50" maxlength="90" dir="ltr" />
				</td>
			</tr>
			</table>
		</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="emailcode" />
		<input type="hidden" name="url" value="$url" />
		<input type="submit" class="button" value="$vbphrase[email_activation_codes]" accesskey="s" />
		<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>]]></template>
		<template name="changessaved" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

	<tr>
		<td class="tcat">$vbphrase[que_user_account_changes_saved]</td>
	</tr>

	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[que_user_account_changes_saved]</td>
				</tr>
				</table>
			</fieldset>
			</div>
		</div>
		</td>
	</tr>

	<tr>
		<td class="tfoot" align="center">
			<div class="smallfont">
				<a href="#" onclick="self.close();">$vbphrase[close_this_window]</a>
			</div>
		</td>
	</tr>

</table>]]></template>
		<template name="changessaved1" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

	<tr>
		<td class="tcat">$vbphrase[que_user_account_changes_saved]</td>
	</tr>

	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[que_user_account_changes_saved]</td>
				</tr>
				</table>
			</fieldset>
			</div>
		</div>
		</td>
	</tr>

	<tr>
		<td class="tfoot" align="center">
			<div class="smallfont">
				<a href="#" onclick="self.close();">$vbphrase[close_this_window]</a>
			</div>
		</td>
	</tr>

</table>]]></template>
		<template name="editpost" templatetype="template" date="1203004052" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[edit_post] - $vboptions[bbtitle]</title>
</head>
<body$onload>
$header
$navbar

<if condition="$show['deletepostoption']">
<form action="editpost.php?do=deletepost&amp;p=$postid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="do" value="deletepost" />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a>
		$vbphrase[delete_this_message]
	</td>
</tr>
<tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]">
	<tr>
		<td class="panelsurround" align="right">
		<div class="panel">
			<div style="$stylevar[formwidth]" align="$stylevar[left]">
			
			<div class="fieldset">
				<div>$vbphrase[delete_message_check_appropriate_option]</div>
				<if condition="$show['firstpostnote']">
					<div>$vbphrase[deleting_message_deletion_of_thread]</div>
				</if>
			</div>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[deletion_options]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<div>
						<label for="rb_del_leave"><input type="radio" name="deletepost" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label>
					</div>
					<div>
						<label for="rb_del_soft"><input type="radio" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label>
						<if condition="$show['physicaldeleteoption'] AND $show['keepattachmentsoption']">(<label for="cb_keepattachments"><input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" />$vbphrase[keep_attachments]</label>)</if>
					</div>
					<if condition="$show['physicaldeleteoption']">
					<div>
						<label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label>
					</div>
					</if>
				</div>
			</fieldset>
			
			<div class="smallfont">
				<div>$vbphrase[reason_for_deletion]:</div>
				<input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" />
			</div>
			
			</div>
		</div>
		
		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="submit" class="button" value="$vbphrase[delete_this_message]" tabindex="1" accesskey="d" />
		</div>
		
		</td>
	</tr>
</tbody>
</table>
</form>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />
</if>

$postpreview

<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
		$vbphrase[edit_post]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="$stylevar[formwidth]" align="$stylevar[left]">
	
		$usernamecode
		
		<!-- edit reason field -->
		<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
			<div><input type="text" class="bginput" name="reason" value="$newpost[reason]" size="50" maxlength="200" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>
		<!-- / edit reason field -->
		
		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td>
				<if condition="$prefix_options">
					<select name="prefixid" class="bginput">
						<if condition="$show['empty_prefix_option']"><option value="">$vbphrase[no_prefix_meta]</option></if>
						$prefix_options
					</select>
				</if>
				<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" />
			</td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->
			
		<!-- message area -->
		<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$postinfo[userid]" 2="$postinfo[username]" 3="$postinfo[postdate]" 4="$postinfo[posttime]">$vbphrase[message_by_x_on_y_at_z]</phrase>:</div>

		$messagearea
		<!-- / message area -->

		$posticons
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<input type="hidden" name="do" value="updatepost" />
		<input type="hidden" name="p" value="$postid" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" />
	</div>
	
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
		<strong>$vbphrase[additional_options]</strong>
	</td>
</tr>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

			<if condition="$show['podcasturl']">
				<!-- podcast stuff -->
				<fieldset class="fieldset">
					<legend>$vbphrase[podcast_options]</legend>
							
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td class="smallfont">$vbphrase[podcast_url]:</td>
						<td class="smallfont">&nbsp;$vbphrase[filesize_bytes]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcasturl" value="$podcasturl" size="50" maxlength="255" tabindex="1" title="$vbphrase[podcast_url]" /></td>
						<td>&nbsp;<input type="text" class="bginput" name="podcastsize" value="$podcastsize" size="10" tabindex="1" title="$vbphrase[podcast_size]" /></td>	
					</tr>
					<tr>
						<td class="smallfont">$vbphrase[subtitle]:</td>
						<td class="smallfont">&nbsp;$vbphrase[explicit]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastsubtitle" value="$podcastsubtitle" size="50" maxlength="255" tabindex="1" title="$vbphrase[subtitle]" /></td>
						<td><input type="checkbox" name="podcastexplicit" value="1" tabindex="1" $explicitchecked title="$vbphrase[explicit]" /></td>
					</tr>	
					<tr>
						<td class="smallfont">$vbphrase[keywords]:</td>
						<td class="smallfont">$vbphrase[author]:</td>
					</tr>
					<tr>
						<td><input type="text" class="bginput" name="podcastkeywords" value="$podcastkeywords" size="50" maxlength="255" tabindex="1" title="$vbphrase[keywords]" /></td>
						<td><input type="text" class="bginput" name="podcastauthor" value="$podcastauthor" size="25" maxlength="255" tabindex="1" title="$vbphrase[author]" /></td>
					</tr>	
					</table>
				</fieldset>
				<!-- / podcast stuff -->
				</if>	
							
				<if condition="$show['misc_options']">			
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
	
				$attachmentoption
						
				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscriptionfolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>

				$threadmanagement
				
				</div>
			</div>
			
			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="r" tabindex="1" />
			</div>
		</td>
	</tr>
</tbody>
</table>

</form>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

<br />

$forumrules

$footer

</body>
</html>]]></template>
		<template name="flash" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] - $play</title>
	$headinclude
</head>
<body>
$header
$navbar
            <center>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="$w" height="$h">
                <param name="movie" value="$play">
                <param name="quality" value="high">
                <if condition="$b"><param name=bgcolor VALUE="$b"></if>
                <embed src="games/$play.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
              <br>
              <br>
            </center>
$footer
</body>
</html>
]]></template>
		<template name="footer" templatetype="template" date="1209527656" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[$ad_location[ad_footer_start]

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">
	
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
	<if condition="$show['quickchooser']">
		<td class="tfoot">
			<select name="styleid" onchange="switch_id(this, 'style')">
				<optgroup label="$vbphrase[quick_style_chooser]">
					$quickchooserbits
				</optgroup>
			</select>
		</td>
	</if>
	<if condition="$show['languagechooser']">
		<td class="tfoot">
			<select name="langid" onchange="switch_id(this, 'lang')">
				<optgroup label="$vbphrase[quick_language_chooser]">
					$languagechooserbits
				</optgroup>
			</select>
		</td>
	</if>
	<td class="tfoot" align="$stylevar[right]" width="100%">
		<div class="smallfont">
			
				<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
				<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
				<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
				<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
				<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
				<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>

<a href="http://www.mwadah.com" title="ستايل من تصميم ابو راشد مشرف عام منتديات المودة">
تصميم -</a>

<!-- هاك عام ـ كود الكسا -->
<a target="_blank" href="http://www.alexa.com/data/details/main?q=$vboptions[homeurl]&url=$vboptions[homeurl]" title="لعرض معلومات الموقع في أليكسا">
آليكسا</a>
<!-- هاك عام ـ كود الكسا -->
			
		</div>
	</td>
</tr>
</table>

<br />

<div align="center">
	<div class="smallfont" align="center">
	<!-- Do not remove this copyright notice -->
	$vbphrase[powered_by_vbulletin]
	<!-- Do not remove this copyright notice -->
	</div>
	
	<div class="smallfont" align="center">
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
	$cronimage
	<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
	
	$vboptions[copyrighttext]
	</div>
</div>

</div></div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
	<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
	var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
	var utcOffset = new Date().getTimezoneOffset() / 60;
	if (Math.abs(tzOffset + utcOffset) == 1)
	{	// Dst offset is 1 so its changed
		document.forms.dstform.submit();
	}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>

<table width="95%"><tr><td>
$ad_location[ad_footer_end]
</td></tr></table>

$spacer_close

<!-- بداية الفوتر -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" valign="top"><tr><td valign="top">
<img src="$stylevar[imgdir_misc]/mwa/fbr.gif" align="right"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/fbc.gif" align="center" valign="top">

<div style="padding-top:31px">
<img src="$stylevar[imgdir_misc]/mwa/logo1.gif" border="0">
</div>

</td><td valign="top">
<img src="$stylevar[imgdir_misc]/mwa/fbl.gif" align="left">
</td></tr></table>
<!-- نهاية الفوتر -->
]]></template>
		<template name="forumjump" templatetype="template" date="1205560256" username="ابو راشد" version="3.7.0 Beta 6"><![CDATA[<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<div  style="text-align:$stylevar[left]; white-space:nowrap">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="daysprune" value="$daysprune" />
<select class="alt1" size="8" name="f" ondblclick="this.form.submit();">
<optgroup label="$vbphrase[site_areas]">
<option value="-1" $defaultselected>$vbphrase[please_select_one]:</option>
<option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
<option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
<option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
<option value="wol" $frmjmpsel[wol]>$vbphrase[whos_online]</option>
<option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
<option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
<option value="-1">----------------------------------</option>
</optgroup>
<optgroup label="$vbphrase[forums]">
$jumpforumbits</optgroup>
</select>
</form></div>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->]]></template>
		<template name="forumrules" templatetype="template" date="1207326259" username="ابو راشد" version="3.7.0 Release Candidate 1"><![CDATA[<!-- بداية إطار علوي -->
<table width="222" cellpadding="0" cellspacing="0" border="0"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td width="218" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="222" cellpadding="0" cellspacing="0" border="0">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="222">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="208">
<thead>
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumrules')"><img id="collapseimg_forumrules" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif" alt="" border="0" /></a>
		$vbphrase[posting_rules]
	</td>
</tr>
</thead>
<tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
<tr>
	<td class="alt1" nowrap="nowrap"><div class="smallfont">
		<if condition="!$show['codeonly']">
		<div><if condition="$can['postnew']">$vbphrase[you_may_post_new_threads]<else />$vbphrase[you_may_not_post_new_threads]</if></div>
		<div><if condition="$can['reply']">$vbphrase[you_may_post_replies]<else />$vbphrase[you_may_not_post_replies]</if></div>
		<div><if condition="$can['attachment']">$vbphrase[you_may_post_attachments]<else />$vbphrase[you_may_not_post_attachments]</if></div>
		<div><if condition="$can['editpost']">$vbphrase[you_may_edit_your_posts]<else />$vbphrase[you_may_not_edit_your_posts]</if></div>
		<hr />
		</if>
		<div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase></div>
		<div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
		<div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
		<div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
	</div></td>
</tr>
</tbody>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="222" cellpadding="0" cellspacing="0" border="0"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="222" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->]]></template>
		<template name="header" templatetype="template" date="1209527697" username="ابو راشد" version="3.7.0 Release Candidate 4"><![CDATA[<!-- logo -->
<a name="top"></a>
<!-- /logo -->

<!-- بداية الهيدر -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" valign="top"><tr>
<td valign="top">
<img src="$stylevar[imgdir_misc]/mwa/headerr.gif" align="right"></td>
<td background="$stylevar[imgdir_misc]/mwa/headerc.gif" align="center" valign="top">
</td><td width="100%" background="$stylevar[imgdir_misc]/mwa/headerc.gif" align="center" valign="top">

<div style="padding-top:0px">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="447" height="135">
<param name="movie" value="$stylevar[imgdir_misc]/mwa/logo.swf">
<param name="quality" value="High">
<param name="wmode" value="transparent">
<embed src="$stylevar[imgdir_misc]/mwa/logo.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="447" height="135" quality="High" wmode="transparent"></object>
</div>

</td><td valign="top">
<img src="$stylevar[imgdir_misc]/mwa/headerl.gif" align="left">
</td></tr></table>
<!-- نهاية الهيدر -->

<!-- content table -->

<div class="page1" align="center">
<div class="page2" align="center">

$spacer_open

$_phpinclude_output

<!-- بداية الأزرار -->

<center>
<div style="padding-top:0px">

<if condition="$show['member']">
<a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/mwa/buttons/usercp.gif" border="0"></a></if>

<if condition="$vboptions['enablememberlist']">
<a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/mwa/buttons/members.gif" border="0"></a></if>

<a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/mwa/buttons/calendar.gif" border="0"></a>

<a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/mwa/buttons/faq.gif" border="0"></a>

<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"><img src="$stylevar[imgdir_misc]/mwa/buttons/logout.gif" border="0"></a></if>

<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/mwa/buttons/register.gif" border="0"></a></if>

</div>
</center>

<!-- بداية الأزرار -->

$ad_location[ad_header_end]
]]></template>
		<template name="headinclude" templatetype="template" date="1205899004" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[<!-- هاك عام ـ التوافقية مع متصفح 8 واستخدام 7 -->
<if condition="is_browser('ie', '8')"><meta http-equiv="X-UA-Compatible" content="IE=7" /></if>
<!-- هاك عام ـ التوافقية مع متصفح 8 واستخدام 7 -->

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[prefix_plain_html] $threadinfo[title] $foruminfo[title_clean]" />
<else /><if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if></if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css" id="vbulletin_opera8fix_css">
ul, ol { padding-$stylevar[left]:20px; }
</style>
</if>
<if condition="$show['editor_css']">
$editor_css
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

<if condition="$vboptions['externalrss']">
	<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
	<if condition="$show['foruminfo'] OR $show['threadinfo']">
		<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
	</if>
</if>

<!-- هاك عام ـ تصحيح عرض الصور من نوع png الشفافة في المتصفحات القديمة -->
<script type="text/javascript" src="$stylevar[imgdir_misc]/pngfix.js"></script>
<!-- هاك عام ـ تصحيح عرض الصور من نوع png الشفافة في المتصفحات القديمة -->
]]></template>
		<template name="mailform" templatetype="template" date="1198370360" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[send_message] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar

<form action="sendmessage.php?do=domailmember&amp;u=$userid" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="domailmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="u" value="$userid" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[send_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
		<div class="fieldset">
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			<tr>
				<td><phrase 1="member.php?$session[sessionurl]u=$userid" 2="$destusername">$vbphrase[send_message_via_email_to_x_link]</phrase></td>
			</tr>
			<tr>
				<td>
					$vbphrase[email_subject]:<br />
					<input type="text" class="bginput" name="emailsubject" value="$subject" size="50" maxlength="85" />
				</td>
			</tr>
			<tr>
				<td>
					$vbphrase[message]:<br />
					<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
				</td>
			</tr>
			<tr>
				<td>$vbphrase[using_form_email_available_to_user]</td>
			</tr>
			</table>
		</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[send_message]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>]]></template>
		<template name="QUIZ" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude
</head>
<body>
$header
$navbar

<br>
<if condition="$bbuserinfo[userid]=='0'">


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="3">ضيف - لا يمتلك الصلاحيات</td>
</tr>
<tr>
	<td class="thead">غير مصرح لك بالمشاهدة</td>
</tr>
<tr>
	<td class="alt1" colspan="1">يتوجب التسجيل لمشاهدة المسابقات</td>
</tr>
</table>
<br/>

<else />

<table cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width='20%' valign='top'>
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
	<td class="tcat" align="center" style="white-space:nowrap">المسابقات</td>
	</tr>
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">الإضافة</td>
	</tr>
	<tr>
	<td class="alt1" align="center"><a href='quiz.php?{$session[sessionurl]}do=SubmitQuiz'>أضافة مسابقة</a></td>
	</tr>
	<if condition="is_array($NewestQuiz)">
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">آخر المسابقات</td>
	</tr>
	<tr>
	<td class="alt1" align='center'>
	{$NewestQuiz['q_name']}<br />
	{$NewestQuiz['q_image']}
	<br />
	<a href='quiz.php?{$session['sessionurl']}do=Take&id={$NewestQuiz['qid']}'>إشترك</a> ــ <a href='quiz.php?{$session['sessionurl']}do=Stats&id={$NewestQuiz['qid']}'>الإحصائيات</a>
	</td>
	</tr>
	</if>
	<if condition="is_array($LB)">
	<tr>
	<td class="thead" align="center" style="white-space:nowrap">لوحة الشرف</td>
	</tr>
	<tr>
	<td class="alt1" align="center"><a href='quiz.php?{$session[sessionurl]}do=Leaderboard&type={$LB['link']}'>{$LB['text']}</a></td>
	</tr>
	</if>
	</table>
</td>
	<td width='80%' valign='top'>
	{$quiz_page}
	</td>
</tr>
<tr>
<td align='center' colspan='2'>
<table border="0" width="100%" align="center">
	<tr>
		<td align='center' width='100%'>
		<a href='http://infernotechnologies.net' target='_blank'>مشغل بواسطة المسابقات<a> ــ <a href="http://gzevolution.net" target="_blank">المبرمج</a> ــ <a href="http://www.mwadah.com" target="_blank">تعريب المودة</a>
		</td>
	</tr>
</table>

</td>
</tr>
</table>
{$MenuBuild}
</if>

$footer
</body>
</html>]]></template>
		<template name="quiz_cat_end" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[</tbody>
<tr>
<td class='tfoot' colspan='3'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_cat_row" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='alt1' align='center' width='30%'>
		<a href='quiz.php?{$session['sessionurl']}do=Cat&id={$Cat['cid']}'>{$Cat['c_name']}</a>
		</td>
		<td class='alt1' align='center' width='60%'>
		{$Cat['c_desc']}
		</td>
		<td class='alt1' align='center' width='10%'>
		{$Cat['c_num']}
		</td>
	</tr>]]></template>
		<template name="quiz_cat_row_none" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='alt1' align='center' width='100%' colspan='4'>
		لا يوجد أقسام حاليا
		</td>
	</tr>]]></template>
		<template name="quiz_cat_top" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='3'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quizc')"><img id="collapseimg_forumhome_quizc" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>أقسام المسابقات</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quizc" style="{$vbcollapse['collapseobj_forumhome_quizc']}">
	<tr>
		<td class='thead' align='center' width='30%'>
		القسم
		</td>
		<td class='thead' align='center' width='60%'>
		الشرح
		</td>
		<td class='thead' align='center' width='10%'nowrap>
		عدد المسابقات
		</td>
	</tr>]]></template>
		<template name="quiz_do_end" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='موافق' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_do_question" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='thead' colspan='2' width='100%' align='center'>
		السؤال رقم : {$n}
		</td>
	</tr>
	<tr>
		<td class='alt1' align='right' nowrap>
		السؤال : {$Q['q_question']}
		</td>
		<td class='alt1' align='right' width='100%' nowrap>
		{$Select}
		</td>
	</tr>
]]></template>
		<template name="quiz_do_top" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<if condition="$Quiz['q_timelimit'] > 0">
<script type='text/javascript'>
<!--
TimeLeft = 60 * {$Quiz['q_timelimit']}
Submit   = false

	function QuizTime(){
	TimeLeft--

		if(TimeLeft < 1){
		Submit = true
		document.forms['quiz_form'].submit(true)
		}

	Minutes = Math.floor(TimeLeft / 60)
	Seconds = (TimeLeft - (Minutes * 60))

	window.status = "Time Left: "+Minutes+" minute(s), "+Seconds+" second(s)"

		if(!Submit){
		setTimeout("QuizTime()",1000)
		}
	}

setTimeout("QuizTime()",1000)

-->
</script>
</if>

<form action="quiz.php?$session[sessionurl]" method="post" name="quiz_form">
<input type='hidden' name='do' value='subQuiz' />
<input type='hidden' name='qid' value='{$Quiz['qid']}' />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_take')"><img id="collapseimg_forumhome_quiz_take" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_take" style="{$vbcollapse['collapseobj_forumhome_quiz_take']}">
	<tr>
		<td class='thead' align='center' nowrap>
		السؤال
		</td>
		<td class='thead' align='center' width='100%' nowrap>
		الإجابة
		</td>
	</tr>]]></template>
		<template name="quiz_error" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat">
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_error')"><img id="collapseimg_forumhome_error" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>خطأ</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_error" style="{$vbcollapse['collapseobj_forumhome_error']}">
    <tr>
        <td class="thead" width="100%">حدث الخطأ التالي</td>
    </tr>
<tr>
<td class='alt1' align='center' width='100%'>حدث الخطأ التالي :<br/><br/>{$message}</td>
</tr>
<tr>
<td class="thead" width="100%" align='center'>[ <a href='javascript:history.go(-1)'>عودة</a> ]</td>
</tr>
</tbody>
</table>
<br />]]></template>
		<template name="quiz_footer" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3" />
		<template name="quiz_leaderboard_end" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='4'>
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=10'>أفضل 10</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=20'>أفضل 20</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=30'>أفضل 30</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=40'>أفضل 40</a> ــ
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=50'>أفضل 50</a>
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_leaderboard_row" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='alt1' align='center' width='1%'>
		{$Count})
		</td>
		<td class='alt1' align='center' width='40%'>
		<a href='quiz.php?{$session['sessionurl']}do=UserStat&userid={$gData['r_userid']}&id={$gData['qid']}'>{$gData['username']}</a>
		</td>
		<td class='alt1' align='center' width='1%'>
		{$gData['r_score']}%
		</td>
		<td class='alt1' align='center' width='40%'>
<div id="leaderboard_{$gData['rid']}" width='1%' style='white-space:nowrap;'><a href="#">{$gData['q_name']}</a>  <script type="text/javascript"> vbmenu_register("leaderboard_{$gData['rid']}",1); </script></div>
		</td>
	</tr>]]></template>
		<template name="quiz_leaderboard_top" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='4'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quizl')"><img id="collapseimg_forumhome_quizl" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>لوحة الشرف</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quizl" style="{$vbcollapse['collapseobj_forumhome_quizl']}">
	<tr>
		<td class='thead' align='center' width='1%'>
		الترتيب
		</td>
		<td class='thead' align='center' width='40%'>
		إسم العضو
		</td>
		<td class='thead' align='center' width='1%'>
		النتيجة
		</td>
		<td class='thead' align='center' width='40%'>
		المسابقة
		</td>
	</tr>]]></template>
		<template name="quiz_main_end" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[</tbody>
</table>
<br />]]></template>
		<template name="quiz_main_row" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='thead' align='center' width='1%'>
		{$Quiz['q_name']}
		</td>
	</tr>
	<tr>
		<td class='alt1' align='center' width='1%'>
		<table border='0' width='100%' cellpadding='3' cellspacing='0'>
		<tr>
		<if condition="$Quiz[q_image] != ''"><td width='1%'>{$Quiz['q_image']}</td></if>
		<td>
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
			<tr>
			<td class="thead" colspan='4'>شرح المسابقة</td>
			</tr>
			<tr>
			<td class="alt1" colspan='4'>{$Quiz['q_desc']}</td>
			</tr>
			<tr>
			<td class="thead">تاريخ الإنتهاء</td>
			<td class="thead">إشترك</td>
			<td class="thead">الإحصائيات</td>
			<td class="thead">لوحة الشرف</td>
			</tr>
			<tr>
			<td class="alt1">{$Quiz['q_autoend']}</td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Take&id={$Quiz['qid']}">إشترك</a></td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Stats&id={$Quiz['qid']}">الإحصائيات</a></td>
			<td class="alt1"><a href="quiz.php?$session[sessionurl]do=Leaderboard&type={$Quiz['qid']}">لوحة الشرف</a></td>
			</tr>
			</table>
		</td>
		</tr>
		</table>
		</td>
	</tr>]]></template>
		<template name="quiz_main_row_none" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='alt1' align='center' width='100%'>
		لا يوجد مسابقات مفتوحة
		</td>
	</tr>]]></template>
		<template name="quiz_main_top" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat">
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz')"><img id="collapseimg_forumhome_quiz" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المسابقات المفتوحة حاليا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz" style="{$vbcollapse['collapseobj_forumhome_quiz']}">]]></template>
		<template name="quiz_start" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<script type='text/javascript'>
<!--

	function rectifyForm(Form){
	Form.action = 'quiz.php?$session[sessionurl]do=Take&id=$_GET[id]'
	}

-->
</script>

<form action="quiz.php?nojs=1" method="post" onsubmit='rectifyForm(this)'>
<input type='hidden' name='quiz_start' value='1' />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>المشاركة في مسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
	<if condition="$Quiz['q_timelimit'] > 0">
أنت على وشك بدء هذه المسابقة , تم تحديد وقت للمسابقة , لديك {$Quiz['q_timelimit']} دقائق لإنهاء المسابقة , وفي حالة إنتهاء الوقت قبل إنهائك المسابقة فسيتم تسجيل نتيجتك آليا .
	<else />
أنت على وشك بدء هذه المسابقة , الوقت مفتوح لإنهاء هذه المسابقة .
	</if>
<br />
نقره على إشترك لبدء المسابقة .
</td>
</tr>
</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='إشترك' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_stats" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_stat')"><img id="collapseimg_forumhome_quiz_stat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إحصائية المسابقة : {$Quiz['q_name']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_stat" style="{$vbcollapse['collapseobj_forumhome_quiz_stat']}">

	<tr>
		<td class='thead' align='center'>
		النتيجة
		</td>
		<td class='thead' align='center'>
		المشاركون
		</td>
	</tr>

	<tr>
		<td class='alt1' align='center'>
		النتيجة : {$Average}
		</td>
		<td class='alt1' align='center'>
		المشاركون : {$Done}
		</td>
	</tr>

	<tr>
		<td class='thead' colspan='2' align='center'>
		المشاركون في المسابقة
		</td>
	</tr>

	<tr>
		<td class='alt1' colspan='2' align='center'>
		{$Submissions}
		</td>
	</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_sthanks" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>شكرا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
شكرا لإضافة المسابقة ... سوف يتم عرض المسابقة في حالة موافقة الإدارة عليها .
</td>
</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_submit_quiz" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<script type='text/javascript'>
<!--
Counter = 1

	function PA(){
	txt =  "السماح بالإجابة الجزئية وكمثال على ذلك:\n"
	txt += "إجابة العضو : في لندن\n"
	txt += "الإجابة الصحيحة : لندن\n\n"
	txt += "عند تفعيل الإجابة الجزئية سيعتبر أعلاه جواب صحيح"
	txt += "\n\n - هذا الخيار مطلوب في حالة إختيار إجابة واحده (1) كلمة."
	alert(txt)

	return false
	}

	function isBlank(Value){
		if(!Value || Value.replace(/ /g,'') == ''){
		return true
		} else {
		return false
		}
	}

	function stripNQ(Data){
		if(Data.match(/<i>No Questions Currently Added<\/i>/i)){
		Data = Data.replace(/<i>No Questions Currently Added<\/i>/i,'')
		}

	return Data
	}

	function getAnswerType(Type){
	OptA    = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Options]\" cols='40' rows='3'></textarea>"
	AnsA    = "<input type='text' class='bginput' name=\"QuestionData["+Counter+"][Answer]\" />"
	AnsB    = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Answer]\" cols='40' rows='3'></textarea>"
	AllowPA = false
	

		switch(Type){

		case '1':
		Options = 'مفتوح'
		Answers = AnsA
		AllowPA = true
		break

		case '2':
		Options = OptA
		Answers = AnsA
		break

		case '3':
		Options = OptA
		Answers = AnsB
		break

		default:
		alert('Invalid answer format type specified')
		return false
		break

		}

	return [Options,Answers,AllowPA,Type]
	}

	function removeQ(Obj){
	Obj.parentNode.parentNode.parentNode.removeChild(Obj.parentNode.parentNode)

		if(document.getElementById('quiz_questions').innerHTML.replace(/ /g) == ''){
		document.getElementById('quiz_questions').innerHTML = "<i>No Questions Currently Added</i>"
		}

	return false
	}

	function wrapBuild(Build){
	return "<fieldset class='fieldset'><legend class='legend'>Question: [<a href='#' title='Remove Question?' onclick='return removeQ(this)'>X</a>]</legend>"+Build+"</fieldset>"
	}

	function clearAQForm(){
	document.forms['quiz'].q_new_question.value = ''
	document.forms['quiz'].q_new_type.options.selectedIndex = 0
	}

	function addQuestion(){
	Question = document.forms['quiz'].q_new_question.value.replace(/'/g,"&#39;") // Stop ' choke - change to HTML entity
	AnsType  = document.forms['quiz'].q_new_type
	AnsType  = AnsType.options[AnsType.options.selectedIndex].value
	AnsType  = getAnswerType(AnsType)

	TypeText    = []
	TypeText[1] = "TextBox"
	TypeText[2] = "Radio"
	TypeText[3] = "Multi"

		if(isBlank(Question)){
		alert('يتوجب إضافة سؤال')
		return false
		}

	Build  = "<table width='100%' cellpadding='3' cellspacing='0' border='0'>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>Question:<br />BBCode May Be Used<input type='hidden' name='QuestionData["+Counter+"][Type]' value='"+TypeText[AnsType[3]]+"' /></td>"
	Build += "<td width='1%'><input type='text' class='bginput' name='QuestionData["+Counter+"][Q]' value='"+Question+"' /></td>"
	Build += "</tr>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>خيارات الإجابة :<br />كل إجابة في سطر جديد</td>"
	Build += "<td width='1%'>"+AnsType[0]+"</td>"
	Build += "</tr>"
	Build += "<tr>"
	Build += "<td width='100%' align='left'>الإجابة الصحيحة :<br />كل إجابة في سطر جديد</td>"
	Build += "<td width='1%'>"+AnsType[1]+"</td>"
	Build += "</tr>"
		if(AnsType[2]){
		Build += "<tr>"
		Build += "<td width='100%' align='left'>تمكين الإجابة الجزئية لهذا السؤال :<br /><a href='#' onclick='return PA()'>ما هذا ?</a></td>"
		Build += "<td width='1%'><select name=\"QuestionData["+Counter+"][QA]\" class='bginput'><option value='0'>لا</option><option value='1'>نعم</option></select></td>"
		Build += "</tr>"
		}
	Build += "</table>"
	Build  = wrapBuild(Build)

	document.getElementById('quiz_questions').innerHTML  = stripNQ(document.getElementById('quiz_questions').innerHTML)
	document.getElementById('quiz_questions').innerHTML += Build

	Counter++
	clearAQForm()
	return false
	}
-->
</script>

<form action="quiz.php?do=doSubmitQuiz" enctype="multipart/form-data" name="quiz" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="999999999" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="right">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_submit')"><img id="collapseimg_forumhome_quiz_submit" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إضافة مسابقة</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_submit" style="{$vbcollapse['collapseobj_forumhome_quiz_submit']}">
<tr>
<td class='thead' colspan='2' align='center'>إعدادات المسابقة</td>
</tr>
	<tr>
	<td class='alt1'>إسم المسابقة :</td>
	<td class='alt1' align='right' width='100%'>
	<input type='text' size='50' name='q_name' class='bginput' />
	</td>
	</tr>
	<tr>
	<td class='alt1' nowrap>شرح وتفاصيل المسابقة :</td>
	<td class='alt1' align='right'>
	<input type='text' size='50' name='q_desc' class='bginput' />
	</td>
	</tr>
	<tr>
	<td class='alt1'>القسم :</td>
	<td class='alt1' align='right'>
	<select name='q_cat' class='bginput'>{$CatBuild}</select>
	</td>
	</tr>
	<tr>
	<td class='alt1'>صورة المسابقة :<br/>إختياري والأنواع المسموحة من الصور : .gif .bmp .png .jpg .jpeg</td>
	<td class='alt1' align='right'>
	<input type="file" class="bginput" name="q_image" />
	</td>
	</tr>
<tr>
<td class='thead' colspan='2' align='center'>أسئلة المسابقة</td>
</tr>
	<tr>
	<td class='alt1' colspan='2' align='center'>
	<fieldset class='fieldset'>
	<legend>إضافة سؤال جديد :</legend>
		<table width='100%' border='0' cellpadding='3' cellspacing='0'>
		<tr>
		<td align='right' nowrap>السؤال :<br />مسموح بأكواد BB</td>
		<td width='100%' align='right'><input type='text' size='50' name='q_new_question' class='bginput' /></td>
		</tr>
		<tr>
		<td align='right'>نوع الإجابة :</td>
		<td width='100%' align='right'><select name='q_new_type' class='bginput'>
		<option value='1'>إجابة مفردة</option>
		<option value='2'>إختيار مفرد من عدة إجابات</option>
		<option value='3'>إختيار متعدد من عدة إجابات</option>
		</select></td>
		</tr>
		<tr>
		<td width='100%' colspan='2' align='center'><input type='button' value='إضافة السؤال للمسابقة' class='button' onclick='addQuestion()' /></td>
		</tr>
		</table>
	</fieldset>
	</td>
	</tr>
	<tr>
	<td class='alt1' colspan='2' id='quiz_questions' align='center'>
	لم تتم إضافة أسئلة للمسابقة
	</td>
	</tr>
</tbody>
<tr>
<td class='thead' colspan='2' align='center'>
<input type='submit' value='إضافة المسابقة' class='button' />
</td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="quiz_thanks" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='2'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>شكرا</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt1' colspan='2' align='center'>
شكرا لإشتراكك في هذه المسابقة ... تم إرسال النتيجة لك في رسالة خاصة ... فضلا راجع الرسائل الخاصة لمعرفة نتيجتك .
</td>
</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
&nbsp;
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_userstats_end" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[</tbody>
<tr>
<td class='thead' colspan='4'>
النتيجة : {$Overall}%
</td>
</tr>
</table>
<br />]]></template>
		<template name="quiz_userstats_row" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[	<tr>
		<td class='alt1' align='right' width='50%'>
		{$Count}) {$Quest['q_question']}
		</td>
		<td class='alt1' align='center' width='10%'>
		{$Result[0]}%
		</td>
		<td class='alt2' align='center' width='20%'>
		{$User_Answers}
		</td>
		<td class='alt2' align='center' width='20%'>
		{$Real_Answers}
		</td>
	</tr>]]></template>
		<template name="quiz_userstats_top" templatetype="template" date="1199463656" username="ابو راشد" version="3.7.0 Beta 3"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan='4'>
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_userstat')"><img id="collapseimg_forumhome_quiz_userstat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
            <div align='center'>إحصائية المسابقة للعضو : {$Quiz['username']}</div></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_userstat" style="{$vbcollapse['collapseobj_forumhome_quiz_userstat']}">
	<tr>
		<td class='thead' align='right' width='50%'>
		السؤال
		</td>
		<td class='thead' align='center' width='10%'>
		صحيح
		</td>
		<td class='thead' align='center' width='20%'>
		إجابة العضو
		</td>
		<td class='thead' align='center' width='20%'>
		الإجابة الصحيحة
		</td>
	</tr>]]></template>
		<template name="STANDARD_ERROR" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></if>
$headinclude
	<title>$pagetitle</title>
$headinsert
</head>
<body>
$header
<if condition="$navbar">
$navbar
<else />
<br /><br /><br />
</if>

<table align="center" width="80%"><tr><td>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
	
		<if condition="$show['permission_error']">		
			<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
			<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
			<input type="hidden" name="do" value="login" />
			<input type="hidden" name="url" value="$scriptpath" />
			<input type="hidden" name="vb_login_md5password" />
			<input type="hidden" name="vb_login_md5password_utf" />
			$postvars
	
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		
			<!-- permission error message - user not logged in -->
			
			
			<div class="smallfont">$vbphrase[not_logged_no_permission]</div>
			
			<ol>
				<li class="smallfont">$vbphrase[not_logged_in_fill_in_form]</li>
				<li class="smallfont">$vbphrase[may_not_have_sufficient_privileges]</li>
				<li class="smallfont">$vbphrase[administrator_may_disabled_account]</li>
			</ol>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[log_in]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
				<tr>
					<td>$vbphrase[username]:<br /><input type="text" class="bginput" name="vb_login_username" size="50" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="50" tabindex="1" /></td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]"><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[forgotten_your_password]</a></span>
						<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" checked="checked" />$vbphrase[remember_me]</label>
					</td>
				</tr>
				<tr>
					<td align="$stylevar[right]">
						<input type="submit" class="button" value="$vbphrase[log_in]" accesskey="s" tabindex="1" />
						<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
			</form>
			
			<!-- / permission error message - user not logged in -->
		<else />		
			<!-- main error message -->
			
			
			<div style="margin: 10px">$errormessage</div>
			
				
			<!-- / main error message -->			
		</if>
		
		</div>
	</div>
	<!--
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[go_back]" accesskey="s" onclick="history.back(1); return false" />
	</div>
	-->
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</td></tr></table><br />

<if condition="!$show['enableforumjump']">
<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->
</if>

<br />

$footer

</body>
</html>]]></template>
		<template name="STANDARD_ERROR_LITE" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="robots" content="noindex,follow" />
$headinclude
<title>$pagetitle</title>
$headinsert
</head>
<body>

<table align="center" width="80%"><tr><td>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
	
		<if condition="$show['permission_error']">		
			<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
			<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
			<input type="hidden" name="do" value="login" />
			<input type="hidden" name="url" value="$scriptpath" />
			<input type="hidden" name="vb_login_md5password" />
			<input type="hidden" name="vb_login_md5password_utf" />
			$postvars
	
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		
			<!-- permission error message - user not logged in -->
			
			
			<div class="smallfont">$vbphrase[not_logged_no_permission]</div>
			
			<ol>
				<li class="smallfont">$vbphrase[not_logged_in_fill_in_form]</li>
				<li class="smallfont">$vbphrase[may_not_have_sufficient_privileges]</li>
				<li class="smallfont">$vbphrase[administrator_may_disabled_account]</li>
			</ol>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[log_in]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
				<tr>
					<td>$vbphrase[username]:<br /><input type="text" class="bginput" name="vb_login_username" size="35" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="35" tabindex="1" /></td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]"><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[forgotten_your_password]</a></span>
						<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" checked="checked" />$vbphrase[remember_me]</label>
					</td>
				</tr>
				<tr>
					<td align="$stylevar[right]">
						<input type="submit" class="button" value="$vbphrase[log_in]" accesskey="s" tabindex="1" />
						<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
			</form>
			
			<!-- / permission error message - user not logged in -->
		<else />		
			<!-- main error message -->
			
			
			<blockquote><p>$errormessage</p></blockquote>
			
				
			<!-- / main error message -->			
		</if>
		
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</td></tr></table>
</body>
</html>]]></template>
		<template name="STANDARD_ERROR_LOGIN" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></if>
$headinclude
	<title>$pagetitle</title>
$headinsert
</head>
<body>
$header

<!-- $_navbar // the navbar shows a login option that will break the purpose of this form -->
<br /><br /><br />

<table align="center" width="80%"><tr><td>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
	
			<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
			<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
			<input type="hidden" name="do" value="login" />
			<input type="hidden" name="url" value="$scriptpath" />
			<input type="hidden" name="vb_login_md5password" />
			<input type="hidden" name="vb_login_md5password_utf" />
			$postvars
	
			<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		
			<blockquote><p>$errormessage</p></blockquote>

			<fieldset class="fieldset">
				<legend>$vbphrase[log_in]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
				<tr>
					<td>$vbphrase[username]:<br /><input type="text" class="bginput" name="vb_login_username" size="50" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="50" tabindex="1" /></td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]"><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[forgotten_your_password]</a></span>
						<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" checked="checked" />$vbphrase[remember_me]</label>
					</td>
				</tr>
				<tr>
					<td align="$stylevar[right]">
						<input type="submit" class="button" value="$vbphrase[log_in]" accesskey="s" tabindex="1" />
						<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
					</td>
				</tr>
				</table>
			</fieldset>
			
			<if condition="$show['register_message']">
				<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
			</if>
			</form>
					
		</div>
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</td></tr></table><br />

<if condition="!$show['enableforumjump']">
<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->
</if>

<br />

$footer

</body>
</html>]]></template>
		<template name="STANDARD_REDIRECT" templatetype="template" date="1203004063" username="ابو راشد" version="3.7.0 Beta 4"><![CDATA[$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="!$postvars">

	<noscript>
	<meta http-equiv="Refresh" content="2; URL=$url" />
	</noscript>

	<script type="text/javascript">
	<!--
	function exec_refresh()
	{
		window.status = "$vbphrase[redirecting]" + myvar;
		myvar = myvar + " .";
		var timerID = setTimeout("exec_refresh();", 100);
		if (timeout > 0)
		{
			timeout -= 1;
		}
		else
		{
			clearTimeout(timerID);
			window.status = "";
			window.location = "$js_url";
		}
	}
	
	var myvar = "";
	var timeout = 20;
	exec_refresh();
	//-->
	</script>
</if>
$headinclude
<title>$pagetitle</title>
</head>
<body>

<br />
<br />
<br />
<br />

<form action="$formfile" method="post" name="postvarform">

<table align="center" width="80%"><tr><td>

<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td><td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif" style="padding-top:0px">
</td><td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif"></td><td width="100%">
<!-- نهاية إطار علوي -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[redirecting]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
			
		<blockquote>
			<p>&nbsp;</p>
			<p><strong>$errormessage</strong></p>			
			<if condition="$postvars">
				$postvars
				<p id="click_here_p" class="smallfont">$vbphrase[click_the_following_button]</p>
				<input type="submit" class="button" value="$vbphrase[proceed]" accesskey="s" />
			<else />
				<p class="smallfont">
<img src="$stylevar[imgdir_misc]/mwa/wait.gif" border="0"><br><br>
<a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>
				<div>&nbsp;</div>
			</if>
		</blockquote>
			
	</div>
	</td>
</tr>
</table>

<!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;"><img src="$stylevar[imgdir_misc]/mwa/bsl.gif"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td><td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td><td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->

</td></tr></table>
</form>

<if condition="$postvars">
<!-- redirect with POST -->

<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';
function submit_form()
{
	window.status = "Redirecting" + myvar;
	myvar = myvar + " .";
	timerID = setTimeout("submit_form();", 100);
	if (timeout > 0)
	{	
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		document.forms.postvarform.submit();
	}
}

myvar = "";
timeout = 18;
submit_form();
//-->
</script>
	
<!-- / redirect with POST -->
</if>

</body>
</html>]]></template>
	</templategroup>
</style>
