resizefix.php
สร้างไฟล์ชื่อ resizefix.php แล้วก๊อปปี้ข้อความตามข้างล่าง ไปวางในไฟล์นี้ตามบรรทัด(เริ่มบรรทัด 1 ที่ <html> และ จบบรรทัดที่ 77 ที่ </html> )
ก๊อปปี้ไฟล์ resizefix.php นี้ ไปไว้ใน forum/templates/ ชื่อ templates /resizefix.php
<html>
<head>
<!--
//-->
<title>Original size</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style type="text/css">
<!--
body {
background-color: #EBEBEB;
/*
scrollbar-face-color: #E3E3E3;
scrollbar-highlight-color: #E3E3E3;
scrollbar-shadow-color: #E3E3E3;
scrollbar-3dlight-color: #E3E3E3;
scrollbar-arrow-color: #E3E3E3;
scrollbar-track-color: #EBEBEB;
scrollbar-darkshadow-color: #E3E3E3;
*/
}
table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size : 10; }
a:link,a:active,a:visited { text-decoration: none; color : #111111; }
a:hover { text-decoration: underline; color : #C51E21; }
//-->
</style>
<script language="JavaScript">
window.onload = maxWindow;
function maxWindow()
{
window.moveTo(0,0);
if (document.all)
{
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById)
{
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bordercolor="#FFFFFF"><div align="center">
<table width="50" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="1" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><a href="javascript:window.close();"><img src="<?PHP print $HTTP_GET_VARS[originalsize];?>" alt="Close this window" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><div align="center"><br />
<a href="javascript:window.close();">Close this window</a></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</body>
</html>