

<head>
<script type="text/javascript" language="javascript">
   var http_request = false;
   function makePOSTRequest(url, parameters) {
      http_request = false;
      if (window.XMLHttpRequest) { // Mozilla, Safari,...
         http_request = new XMLHttpRequest();
         if (http_request.overrideMimeType) {
         	// set type accordingly to anticipated content type
            //http_request.overrideMimeType('text/xml');
            http_request.overrideMimeType('text/html');
         }
      } else if (window.ActiveXObject) { // IE
         try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
            try {
               http_request = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
         }
      }
      if (!http_request) {
         alert('Cannot create XMLHTTP instance');
         return false;
      }
      
      http_request.onreadystatechange = alertContents;
      http_request.open('POST', url, true);
      http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
      http_request.setRequestHeader("Content-length", parameters.length);
      http_request.setRequestHeader("Connection", "close");
      http_request.send(parameters);
   }

   function alertContents() {
      if (http_request.readyState == 4) {
         if (http_request.status == 200) {
            //alert(http_request.responseText);
            result = http_request.responseText;
            document.getElementById('myspan').innerHTML = result;            
         } else {
            alert('هناك مشكلة بمتصفحك');
         }
      }
   }
   
   function get(obj) {
      var poststr ="&thisid=" + encodeURI( document.getElementById("thisid").value ); 
                    
      makePOSTRequest('addfav.php', poststr);
   }
</script>


<link rel="stylesheet" href="traidnt.css" type="text/css" media="screen" />
<style>
.tborder {
	BORDER-RIGHT: #886b33 1px solid; BORDER-TOP: #886b33 1px solid; BACKGROUND: #ddc98c; BORDER-LEFT: #886b33 1px solid; COLOR: #000000; BORDER-BOTTOM: #886b33 1px solid
}
</style>
<script>
function TraidntPopUp(URLStr, left, top, width, height)
{
  window.open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
//	document.location=URLStr;
}


//<![CDATA[
function hideDiv() {
if(document.getElementById("reply").style.display=="none") {
   document.getElementById("reply").style.display="block";
 }
else {
   document.getElementById("reply").style.display="none";
   }
 }
//]]>
</script>



</head>


<body topmargin="0" leftmargin="00" rightmargin="0" bottommargin="00" marginwidth="0" marginheight="0">

<table border="0" width="100%" cellspacing="0" cellpadding="0" dir="rtl">
	<tr>
		<td width="137" align="center" valign="top">
		<!--right!-->
<?= EasyTemplate::_include("pageright.html"); ?>
		<!--right!-->
		</td>
		<td align="center" valign="top">
		
		
		
				<table border="0" width="14%" cellspacing="0" cellpadding="0">
			<tr>
				<td width="608" height="37" background="<?= $this->vars['stylepath']?>/images/trpoem_03.jpg" class="font">
				&nbsp;</td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" cellpadding="0">
					<tr>
						<td width="19" background="<?= $this->vars['stylepath']?>/images/trpoem_09.jpg">
			&nbsp;</td>
						<td background="<?= $this->vars['stylepath']?>/images/trpoem_08.jpg" class="font">
						
		<span lang="en-us"><a href="index.html"><?= $this->vars['sitename']?></a>&nbsp; / 
		<a href="cat-<?= $this->vars['poemcatid']?>.html"><?= $this->vars['catname']?></a>/<?= $this->vars['subtitle']?></span></td>
						<td width="11" background="<?= $this->vars['stylepath']?>/images/trpoem_07.jpg">
			&nbsp;</td>
					</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
			<img src="<?= $this->vars['stylepath']?>/images/trpoem_17.jpg" width="608" height="46" alt=""></td>
			</tr>
		</table>
				<table border="0" width="14%" cellspacing="0" cellpadding="0">
			<tr>
				<td width="608" height="37" background="<?= $this->vars['stylepath']?>/images/trpoem_03.jpg" class="font">
				<p align="center"><span lang="en-us"><?= $this->vars['subtitle']?></span></td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" cellpadding="0">
					<tr>
						<td width="19" background="<?= $this->vars['stylepath']?>/images/trpoem_09.jpg">
			<img src="<?= $this->vars['stylepath']?>/images/trpoem_09.jpg" width="19" height="10" alt=""></td>
						<td background="trpoem_08.jpg">
						
				<TABLE  cellSpacing=1 cellPadding=6 width="100%" align=center 
border=0>
  <TBODY>
  <TR>
    <TD bgcolor="#F8EFD3" background="<?= $this->vars['poembackg']?>" class="font">

		<p class="style2"><?= $this->vars['thispoem']?></p>
		<br>
		<?= $this->vars['realplayer']?>
		<br>
		<div align="center">
<table border="0" width="25%" cellspacing="0" cellpadding="0">
					<tr>
						<td height="29">
						<TABLE class=tborder cellSpacing=1 cellPadding=6 width="100%" align=center 
border=0>
  <TBODY>
  <TR>
    <TD class=font bgcolor="#FFFFFF">

		<p align="center">أدوات القصيدة<br>
		<div align="center">
			<table border="0" width="1%" cellspacing="5" cellpadding="0" dir="rtl">
				<tr>
					<td>
										 <input name="thisid" id="thisid" type="hidden" value="<?= $this->vars['cleanid']?>">
					
					<a onclick="javascript:get(this.parentNode);">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/addfav.gif" width="16" alt="اضافه للمفضلة" height="16"></a>
					
					</td>
					<td>
					<a href="javascript:TraidntPopUp('print-<?= $this->vars['cleanid']?>.html','0','0','0','0');">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/print.gif" alt="طباعه الملف" width="16" height="16"></a></td>
					<td>
					<a href="javascript:TraidntPopUp('send.php?poemid=<?= $this->vars['cleanid']?>','125','200','400','350');">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/send.gif"  alt="ارسال لصديق" width="16" height="15">
					</a>
					</td>
					<td>
					<a href="html-<?= $this->vars['cleanid']?>.html">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/html.gif" alt="حفظ كصفحة ويب" width="16" height="16"></a></td>
					<td>
					<a  href="rss-<?= $this->vars['cleanid']?>.xml">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/rss.png" alt="تغذيات rss " width="16" height="16"></a></td>
									
					<td>
					<a href="word-<?= $this->vars['cleanid']?>.doc">
					<img border="0" src="<?= $this->vars['stylepath']?>/images/poemtool/word.gif" alt="حفظ كملف word" width="16" height="16"></a></td>
					
				</tr>
			</table>
		</div>
	</TD>
    </TR></TBODY></TABLE>
						</td>
					</tr>
					<tr>
						<td>
						
						&nbsp;</td>
					</tr>
				</table>
<span name="myspan" id="myspan" class="font"></span>

<p align="center"><?= $this->vars['rating']?></p>
				</div>

				<p align="center">&nbsp;
</TD>
	
	
    </TR>
    
    </TBODY></TABLE>	</td>
						<td width="11" background="<?= $this->vars['stylepath']?>/images/trpoem_07.jpg">
			<img src="<?= $this->vars['stylepath']?>/images/trpoem_07.jpg" width="11" height="10" alt=""></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
			<img src="<?= $this->vars['stylepath']?>/images/trpoem_17.jpg" width="608" height="46" alt=""></td>
			</tr>
			<tr>
			<td><a href="Traidnt:reply" onclick="hideDiv();return false"><img border="0" src="<?= $this->vars['stylepath']?>/images/reply.gif" width="110" height="26"></a></td>
			</tr>
			<tr>
			<td>
			<div id="reply" style="display='none'" align="center">
<table border="0" width="14%" cellspacing="0" cellpadding="0">
			<tr>
				<td width="608" height="37" background="<?= $this->vars['stylepath']?>/images/trpoem_03.jpg" class="font">
				&nbsp;</td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellspacing="0" cellpadding="0" dir="rtl">
					<tr>
						<td width="19" background="<?= $this->vars['stylepath']?>/images/trpoem_09.jpg">
			&nbsp;</td>
						<td background="<?= $this->vars['stylepath']?>/images/trpoem_08.jpg" class="font">
						
		<p align="center"><?= $this->vars['addcom']?></td>
						<td width="11" background="<?= $this->vars['stylepath']?>/images/trpoem_07.jpg">
			&nbsp;</td>
					</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
			<img src="<?= $this->vars['stylepath']?>/images/trpoem_17.jpg" width="608" height="46" alt=""></td>
			</tr>
		</table>
&nbsp;</div>
			</td>
			</tr>
		</table>
		</td>
	</tr>
	</table>
		<!--body!-->

		
		&nbsp;<!--body!--><br>




