Current File : //etc/zpanel/panel/modules/mailinfo/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>

    <@ Result @>

    <div id="contentwrapper_phpinfo">

	<div class="zform_wrapper" style="width:100%">
	
	<form action="./?module=mailinfo&action=UpdateFlag" method="post" autocomplete="off"  >
	<input type="hidden" name="flag" id="flag"  />
	<input type="hidden" name="operationid" id="operationid" />
	<h2>Blocked PHP Files </h2>
				<% if ViewBlockedList %>
				<table>
				<tr>
				<th><: Script Name :></th>
				<% if isadmin %>
				<th></th>
				<th></th>
				<% endif %>
				</tr>
				<% loop ViewBlockedList %>

				<tr>
				<!-- <td><& scriptname &></td> -->

				<td><& path &></td>
				<% if isadmin %>
				<td>
				<button class="button-loader btn btn-default" type="submit" id="button" name="inunblock_<& id &>" id="inunblock_<& id &>" value="inunblock_<& id &>" onclick="return fn_unblock(this.value);"><: Unblock :></button></td>
				<td><button class="button-loader btn btn-default" type="submit" id="button" name="inwhitelist_<& id &>" id="inwhitelist_<& id &>" value="inwhitelist_<& id &>" onclick="return fn_white(this.value);" ><: Whitelist :></button></td>
				<% endif %>
				</tr>
				<% endloop %>

				</table>
				<% else %>
				<: Sorry there are currently no blocked PHP files..! :>
				<% endif %>
	<h2>Unblocked PHP Files </h2>
	
				<% if ViewUnBlockedList %>
				<table>
				<tr>
				<th><: Script Name :></th>
				<% if isadmin %>
				<th></th>
				<th></th>
				<% endif %>
				</tr>
				<% loop ViewUnBlockedList %>

				<tr>
				<!-- <td><& scriptname &></td> -->

				<td><& path &></td>
				<% if isadmin %>
				<td><button class="button-loader btn btn-default" type="submit" id="button" name="inblock_<& id &>" id="inblock_<& id &>" value="inblock_<& id &>" onclick="return fn_block(this.value);" ><: Block :></button></td>
				<td><button class="button-loader btn btn-default" type="submit" id="button" name="inwhitelist_<& id &>" id="inwhitelist_<& id &>" value="inwhitelist_<& id &>" onclick="return fn_white(this.value);" ><: Whitelist :></button></td>
				<% endif %>
				</tr>
				<% endloop %>

				</table>
				<% else %>
				<: Sorry there are currently no unblocked PHP files..! :>
				<% endif %>
	
				<h2>Whitelist PHP Files </h2>
	
				<% if ViewWhiteList %>
				<table>
				<tr>
				<th><: Script Name :></th>
				<% if isadmin %>
				<th></th>
				<th></th>
				<% endif %>
				</tr>
				<% loop ViewWhiteList %>

				<tr>
				<!-- <td><& scriptname &></td> -->

				<td><& path &></td>
				<% if isadmin %>
				<td><button class="button-loader btn btn-default" type="submit" id="button" name="inblock_<& id &>" id="inblock_<& id &>" value="inblock_<& id &>" onclick="return fn_block(this.value);" ><: Block :></button></td>
				<td><button class="button-loader btn btn-default" type="submit" id="button" name="inunblock_<& id &>" id="inunblock_<& id &>" value="inunblock_<& id &>" onclick="return fn_unblock(this.value);" ><: Unblock :></button></td>
				<% endif %>
			   </tr>
				<% endloop %>

				</table>
				<% else %>
				<: Sorry there are currently no whitelist PHP files..! :>
				<% endif %>
	  <@ CSFR_Tag @>
	</form>
	
	</div>
        <div class="zform_wrapper" style="width:100%">
			<h2>Mail Log</h2>
            <@ MailInfo @>
        </div>
    </div>

</div>
<script type="text/javascript">
function fn_unblock(val)
{
document.getElementById("flag").value="unblock";
document.getElementById("operationid").value=val.replace("inunblock_","");
return true;
}
function fn_block(val)
{
document.getElementById("flag").value="block";
document.getElementById("operationid").value=val.replace("inblock_","");
return true;
}
function fn_white(val)
{
document.getElementById("flag").value="white";
document.getElementById("operationid").value=val.replace("inwhitelist_","");
return true;
}
</script>