Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/tmp/install_53215b1643824/views/ |
Upload File : |
<?php /** * @author: GavickPro * @copyright: 2008 **/ // no direct access defined('_JEXEC') or die('Restricted access'); ?> <tr> <td><?php echo $LANG->GROUP_NAME; ?></td> <td><input type="text" name="name" value="" id="group_name" maxlength="100" /></td> </tr> <tr> <td><?php echo $LANG->IMAGE_QUALITY; ?></td> <td><input type="text" name="quality" value="75" id="quality" size="3" maxlength="3" />%</td> </tr> <tr> <td><?php echo $LANG->IMAGE_WIDTH; ?></td> <td><input type="text" name="mediumThumbX" value="0" id="group_width" size="5" maxlength="4" />px</td> </tr> <tr> <td><?php echo $LANG->IMAGE_HEIGHT; ?></td> <td><input type="text" name="mediumThumbY" value="0" id="group_height" size="5" maxlength="4" />px</td> </tr> <tr> <td><?php echo $LANG->THUMB_WIDTH; ?></td> <td><input type="text" name="smallThumbX" value="0" id="thumb_width" size="5" maxlength="4" />px</td> </tr> <tr> <td><?php echo $LANG->THUMB_HEIGHT; ?></td> <td><input type="text" name="smallThumbY" value="0" id="thumb_height" size="5" maxlength="4" />px</td> </tr> <tr> <td><?php echo $LANG->BG_COLOR; ?></td> <td><input type="text" name="bgcolor" value="#000000" id="bgcolor" size="7" maxlength="9" /></td> </tr> <script type="text/javascript"> window.addEvent("domready", function(){ $E("#toolbar-save .toolbar").onclick = function(){ var alert_content = ''; if($("group_name").getValue() == '') alert_content += '<?php echo $LANG->EGROUPNAME; ?>'; if(isNaN($("group_width").value) || $("group_width").value == '') alert_content += '<?php echo $LANG->EIMAGEWIDTH; ?>'; if(isNaN($("group_height").value) || $("group_height").value == '') alert_content += '<?php echo $LANG->EIMAGEHEIGHT; ?>'; if(isNaN($("thumb_width").value) || $("thumb_width").value == '') alert_content += '<?php echo $LANG->ETHUMBWIDTH; ?>'; if(isNaN($("thumb_height").value) || $("thumb_height").value == '') alert_content += '<?php echo $LANG->ETHUMBHEIGHT; ?>'; var hexre = new RegExp(/^#([0-9a-fA-F]){3}(([0-9a-fA-F]){3})?$/); if(!hexre.test($("bgcolor").value)) alert_content += '<?php echo $LANG->EBGCOLOR; ?>'; (alert_content != '') ? alert(alert_content) : submitbutton('save_group'); } }); </script>