Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » Автоматизация администрирования. Часть 2

Модерирует : lynx, Crash_Master, dg, emx, ShriEkeR

ShriEkeR (23-05-2011 23:06): Автоматизация администрирования. Часть 3  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

Dimau1981

Junior Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

<html>
<head>
<script language="JavaScript" src="public.js"></script>
<script language="JavaScript">
    function restoreConfirm(){
    if(confirm(msg[RESTORE_DEFAULT])){    
    send_submit("form2");
    }
    }
    
    function restore_js(){
    if(confirm(msg[RESET_JUMPSTAR])){    
    send_submit("form4");
    }
    }
    
    function loadConfirm(){
    if(confirm(msg[LOAD_SETTING])){
    if (get_by_id("file").value == ''){
    alert(msg[LOAD_FILE_ERROR]);
    }else{
    send_submit("form1");
    }    
    }
    }
    
    function confirm_reboot(){
    if(confirm(msg[REBOOT_ROUTER])){
    send_submit("form6");
    }
    }
</script>
<link rel="STYLESHEET" type="text/css" href="css_router.css">
<title>D-LINK SYSTEMS, INC | WIRELESS ROUTER | TOOLS</title>
<style type="text/css">
<!--
.style2 {font-size: 11px}
-->
</style>
</head>
<body topmargin="1" leftmargin="0" rightmargin="0" bgcolor="#757575">
    <table id="header_container" border="0" cellpadding="5" cellspacing="0" width="838" align="center">
 <tr>
 <td width="100%">Product Page: <a href="http://support.dlink.com/">DIR-450</a></td>
 <td align="right" nowrap>Hardware Version: A1 &nbsp;</td>
 <td align="right" nowrap>Firmware Version: 1.03</td>
 </tr>
 </table>
    <table id="topnav_container" border="0" cellpadding="0" cellspacing="0" width="838" align="center">
    <tr>
    <td align="center" valign="middle"><img src="wlan_masthead.gif" width="836" height="92"></td>
    </tr>
    </table>
    <table border="0" cellpadding="2" cellspacing="1" width="838" align="center" bgcolor="#FFFFFF">
    <tr id="topnav_container">
    <td><img src="short_modnum.gif" width="125" height="25"></td>
    <td id="topnavoff"><a href="index.htm">Setup</a></td>
    <td id="topnavoff"><a href="adv_virtual.htm">Advanced</a></td>
    <td id="topnavon"><a href="tools_admin.htm">Tools</a></td>
    <td id="topnavoff"><a href="st_device.html">Status</a></td>
    <td id="topnavoff"><a href="support_men.htm">Support</a></td>
    </tr>
    </table>
    <table border="1" cellpadding="2" cellspacing="0" width="838" height="100%" align="center" bgcolor="#FFFFFF" bordercolordark="#FFFFFF">
    <tr>
    <td id="sidenav_container" valign="top" width="125" align="right">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td id="sidenav_container">
    <div id="sidenav">
    <!-- === BEGIN SIDENAV === -->
    <ul>
    <li><div><a href="tools_admin.htm">Admin</a></div></li>
    <li><div><a href="tools_time.htm">Time</a></div></li>
    <li><div id="sidenavoff">System</div></li>
    <li><div><a href="tools_firmw.htm">Firmware</a></div></li>
    <li><div><a href="tools_ddns.htm">DDNS</a></div></li>
    <li><div><a href="tools_vct.htm">SYSTEM CHECK</a></div></li>
<li><div><a href="tools_schedules.htm">SCHEDULES</a></div></li>
<li><div><a href="st_log_settings.htm">Log settings</a></div></li>
    <li><div><a href="tools_syslog.htm">Syslog</a></div></li>
    <li><div><a href="tools_email.htm">Email Settings</a></div></li>
    <li><div><a href="tools_static_route.htm">Routing</a></div></li>
    </ul>
    <!-- === END SIDENAV === -->
    </div>
    </td>    
    </tr>
    </table>    
    </td>
    <td valign="top" id="maincontent_container">
    <div id="maincontent">
    <!-- === BEGIN MAINCONTENT === -->
    <div id="box_header">  
    <h1>System SETTINGS : </h1>
    The current system settings can be saved as a file onto the local hard drive. The saved file or any other saved setting file created by device can be uploaded into the unit.<br>
    </div>
    <div class="box">
 <h2>SYSTEM Settings : </h2>
 <table width="525" height=80 border=0 cellpadding=2 cellspacing="2">
 <form>
 <tr>
 <td width="225"><div align="right">Save Settings To Local Hard Drive :</div></td>
 <td width="300" height=10>&nbsp;
 <input type=button value=Save name=save onClick="window.location.href='/config.bin'"></td>
 </tr></form>
    <form id="form1" name="form1" method=POST action="load.cgi" enctype=multipart/form-data>    
 <tr>
 <td width=225><div align="right">Load Settings From Local Hard Drive :</div></td>
 <td height=20 width=300>&nbsp;  
 <input type=file id=file name=file size=20 value=""><br>&nbsp;
 <input type="button" value="Upload Settings" name="load" onclick="loadConfirm()"></td>
 </tr>
 </form>
 
 
 
    <form id="form2" name="form2" method="post" action="restore.cgi">
 <tr>
 <td width="225"><div align="right">Restore To Factory Default Settings :</div></td>
 <td width="300" height=20>&nbsp;
    
    <input type="button" value="Restore Device" name="restore" onclick="restoreConfirm()"></td>
 </tr>
 </form>
 
    <form id="form6" name="form6" method="post" action="restart.cgi">
 <tr>
 <td width="225">
 <div align="right">Reboots the DIR-450 :</div></td>
 <td width="300" height="20" valign="top">
    &nbsp;
    <input type="button" value=Reboot name=restart onclick="confirm_reboot()"> </td>
 </tr>
 </form>
 </table>
    </div>
<!--<div class="box">
 <h2>JumpStart : </h2>
 <table width="525" height=46 border=0 cellpadding=2 cellspacing="2">
 
 <form id=form3 name= form3 method=POST action=enableJS.cgi>
 <tr>
 <td width=225><div align="right">Enable JumpStart function :</div></td>
 <td height=20 width=300>&nbsp;
    <input name="js_g_enable" type="checkbox" id="js_g_enable" value="1">
 &nbsp;
 <input type="button" value=Apply name=SaveJs onclick="send_submit('form3')"></td>
 </tr>
 </form>
 <form id=form4 name=form4 method=POST action=restoreJS.cgi>
    <tr>
 <td width=225><div align="right">Reset JumpStart :</div></td>
 <td height=20 width=300>&nbsp;
    <input type="button" name="restoreJS" id="restoreJS" onClick="restore_js()" value="Jumpstart"></td>
 </tr></form>
    
 </table>
    </div>-->
    <!-- === END MAINCONTENT === -->
 </div></td>
    <td valign="top" width="150" id="sidehelp_container" align="left">
    <table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF">
    <tr>
    <td id="help_text">
    <strong>Helpful Hints..</strong><br>
    <p class="style2"><strong>Saving System Settings&#58;</strong><br>Once your router is configured they way you want it, you can save these settings to a configuration file that can later be loaded in the event that the router's default settings are restored. To do this, click the <strong>Save </strong> button next to where it says Save Settings to Local Hard Drive. </p>
    <p class="style2"></p>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <table id="footer_container" border="0" cellpadding="0" cellspacing="0" width="838" align="center">
    <tr>
    <td width="125" align="center">&nbsp;&nbsp;<img src="wireless_bottom.gif" width="114" height="35"></td>
    <td width="10">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </table>
<br>
<div align="center">Copyright &copy; 2004-2008 D-Link Systems, Inc.</div>
<br>
</body>
</html>

Всего записей: 166 | Зарегистр. 29-12-2008 | Отправлено: 17:15 04-04-2010 | Исправлено: Dimau1981, 17:31 04-04-2010
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » Автоматизация администрирования. Часть 2
ShriEkeR (23-05-2011 23:06): Автоматизация администрирования. Часть 3


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru