Current File : //etc/sentora/panel/modules/phpconfig/module.zpm
<div class="zmodule_content panel" id="zmodule_header_<@ ModuleName @>">
    <div class="panel-heading">
        <img src="<@ ModuleIcon @>" width="35" height="35" border="0" alt="<@ ModuleName @>">

        <div class="zmodule_title">
            <@ ModuleName @>
        </div>

        <div class="zmodule_desc" id="zmodule_desc_<@ ModuleName @>"><@ ModuleDesc @></div>



    </div>

<style>
.helpicon {
display: block;
float: right;
border: 1px solid #ccc;
background-color: #f3f3f3;
padding: 5px 10px;
font-size: 12px;
margin-top:-121px;
margin-right:5px;
-webkit-box-shadow: -8px 7px 5px 0px rgba(204,204,204,1);
-moz-box-shadow: -8px 7px 5px 0px rgba(204,204,204,1);
box-shadow: -8px 7px 5px 0px rgba(204,204,204,1);
-webkit-box-shadow: 8px 7px 5px 0px rgba(204,204,204,1);
-moz-box-shadow: 8px 7px 5px 0px rgba(204,204,204,1);
box-shadow: 8px 7px 5px 0px rgba(204,204,204,1);
}

</style>
<div class="helpicon">
<a href="<@ helpicon @>" target="_blank"><img src="etc/styles/CstyleX-master/images/help.png" style="float:left;" ><span style="float:left;margin-top:8px;font-weight:bold;font-size:12px;" >Video Tutorial</span></a>
</div>

    <div id="contentwrapper_phpinfo">
	<@ Result @>
        <br>
<br>     
<form action="./?module=phpconfig&action=Updateconfig" method="POST">
<table id="phptbl" width="95%" class="table table-striped sortable" border="0" cellpadding="5" cellspacing="0">
    <tbody><tr class="row-%">
        <th class="cell">Directive</th>
        <th class="cell">Info</th>
        <th colspan="2" class="cell-end" width="200px">Value</th>
    </tr>
    </tbody>
	<tbody>
 
    <tr>
        <td class="cell">file_uploads</td>
        <td class="cell">Whether or not to allow HTTP file uploads.</td>
        <td class="cell" ><span><label><input type="radio" Id="Offradio" name="file_uploads" value="Off" <@ file_uploads_Off @>  >Off</label>&nbsp;&nbsp;<label><input Id="Onradio" type="radio" <@ file_uploads_On @> name="file_uploads" value="On">On</label></span></td>
    </tr>
  
    <tr>
        <td class="cell">max_execution_time</td>
        <td class="cell">This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30.</td>
        <td class="cell" ><span><input class="InputTextBox" type="text" name="max_execution_time" value="<@ max_execution_time @>" maxlength="4" ></span></td>
    </tr>
    <tr>
        <td class="cell">max_input_time</td>
        <td class="cell">This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.</td>
        <td class="cell" ><span><input class="InputTextBox" type="text" name="max_input_time" value="<@ max_input_time @>" maxlength="4"  ></span></td>
    </tr>
    <tr>
        <td class="cell">memory_limit <b><i>(in MB)</b></i></td>
        <td class="cell">This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.</td>
        <td class="cell" ><span><input class="InputTextBox" type="text" name="memory_limit" value="<@ memory_limit @>" maxlength="4" ></span></td>
    </tr>
<input type="hidden" name="session_save_path" value="/tmp/" size="7">
    <tr>
        <td class="cell">upload_max_filesize <b><i>(in MB)</b></i></td>
        <td class="cell">The maximum size of an uploaded file.</td>
        <td class="cell" ><span><input class="InputTextBox" type="text" name="upload_max_filesize" value="<@ upload_max_filesize @>" maxlength="4" ></span></td>
    </tr>
	    <tr>
        <td class="cell">post_max_size <b><i>(in MB)</b></i></td>
        <td class="cell">Maximum size of POST data that PHP will accept.</td>
        <td class="cell" ><span><input class="InputTextBox" type="text" name="post_max_size" value="<@ post_max_size @>" maxlength="4" ></span></td>
    </tr>

    </tbody>
</table>
<br>

<div>
<button class="button btn btn-primary" type="submit" id="submitbutton">Change</button>
</div>
</form>

</div>
</div>

<script>
$(document).ready(function() {
    $(".InputTextBox").keydown(function (e) {
        // Allow: backspace, delete, tab, escape, enter and .
        if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 ||
             // Allow: Ctrl/cmd+A
            (e.keyCode == 65 && (e.ctrlKey === true || e.metaKey === true)) ||
             // Allow: Ctrl/cmd+C
            (e.keyCode == 67 && (e.ctrlKey === true || e.metaKey === true)) ||
             // Allow: Ctrl/cmd+X
            (e.keyCode == 88 && (e.ctrlKey === true || e.metaKey === true)) ||
             // Allow: home, end, left, right
            (e.keyCode >= 35 && e.keyCode <= 39)) {
                 // let it happen, don't do anything
                 return;
        }
        // Ensure that it is a number and stop the keypress
        if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
            e.preventDefault();
        }
    });
});
</script>