Current File : //etc/zpanel/panel/modules/phpversion/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:-80px;
margin-right:6px;
-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>
<@ Result @>
<% if isEditSubDomain %>
<div class="zform_wrapper">
<h2><: Edit Domain :>: <@ EditCurrentSubDomain @></h2>
<form action="./?module=phpversion&action=UpdateVersion" method="post" autocomplete="off" >
<table class="table table-striped">
<tr>
<th><: PHP Version :>:</th>
<td>
<div id="showdomainselect">
<@ showVersion @>
</div>
</td>
</tr>
<tr>
<th>
<button class="button-loader btn btn-primary" type="submit" name="inSave" value="<@ EditID @>"><: Save :></button>
<button class="button-loader btn btn-default" type="button" onclick="window.location.href='./?module=phpversion';return false;"><: Cancel :></button>
</th>
<td></td>
</tr>
</table>
<@ CSFR_Tag @>
</form>
</div>
<% endif %>
<div class="zgrid_wrapper">
<h2><: Domain List :></h2>
<% if SubDomainList %>
<form action="./?module=phpversion&action=EditSubDomain" method="post">
<table class="table table-striped">
<tr>
<th><: Domain Name :></th>
<th><: PHP Version :></th>
<th></th>
<th></th>
</tr>
<% loop SubDomainList %>
<tr>
<td><a href="http://<& subname &>/" target="_blank"><& subname &></a></td>
<td><& subdirectory &></td>
<td><button class="button-loader btn btn-default" type="submit" name="inEdit_<& subid &>" id="inEdit_<& subid &>" value="inEdit_<& subid &>"><: Edit :></button></td>
</tr>
<% endloop %>
</table>
<@ CSFR_Tag @>
</form>
<% else %>
<: You currently do not have any Sub-domains configured. Create a Sub-domain using the form below. :>
<% endif %>
</div>
</div>
<script type="text/javascript">
<!--
function show_div(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
}
//-->
</script>
<script type="text/javascript">
<!--
function hide_div(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
}
//-->
</script>