Initial Commit of AgileBill Open Source
5
themes/default_admin/IEFrameWarningBypass.htm
Normal file
@@ -0,0 +1,5 @@
|
||||
<!-- Suppressing Internet Explorer warning on IFRAME in SSL secured page -->
|
||||
<!-- _lcid="1033" _version="11.0.5329" _dal="1" -->
|
||||
<!-- _LocalBinding -->
|
||||
<HTML>
|
||||
</HTML>
|
230
themes/default_admin/blocks/core/admin.tpl
Normal file
@@ -0,0 +1,230 @@
|
||||
{if $SESS_LOGGED == true}
|
||||
|
||||
<form method="post" action="">
|
||||
<u>Account Quick Search</u> {html_select_account name="id"}
|
||||
<input type="hidden" name="_page" value="account_admin:view">
|
||||
</form>
|
||||
|
||||
|
||||
{ $method->exe('invoice', 'performance') }
|
||||
{if $method->result == TRUE}
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="body">
|
||||
<div align="center">
|
||||
<a href="?_page=core:admin&period=w"><b>{translate module=invoice}weekly{/translate}</b></a>
|
||||
| <a href="?_page=core:admin&period=m"><b>{translate module=invoice}monthly{/translate}</b></a>
|
||||
| <a href="?_page=core:admin&period=y"><b>{translate module=invoice}yearly{/translate}</b></a>
|
||||
</div>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table id="main1" width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form id="form1" name="form1" method="post" action="">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
||||
<tr valign="middle" align="center" class="table_heading">
|
||||
<td width="25%" class="table_heading">
|
||||
{translate module=invoice}
|
||||
indicator
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="30%" class="table_heading">
|
||||
{translate module=invoice}
|
||||
period
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="15%" class="table_heading"> <b>
|
||||
{translate module=invoice}
|
||||
current
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="15%" class="table_heading">
|
||||
{translate module=invoice}
|
||||
previous
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="15%" class="table_heading"> <b>
|
||||
{translate module=invoice}
|
||||
change
|
||||
{/translate}
|
||||
</b></td>
|
||||
</tr>
|
||||
<tr class="row1">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>
|
||||
{translate module=invoice}
|
||||
sales
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($sales_current, '') }
|
||||
</b></td>
|
||||
<td width="330">{ $list->format_currency_num($sales_previous, '')}
|
||||
</td>
|
||||
<td width="173" align="center">{$sales_change}</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>
|
||||
{translate module=invoice}
|
||||
forcast
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_forcast}</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($forcast_current, '') }
|
||||
</b></td>
|
||||
<td width="330"> - </td>
|
||||
<td width="173" align="center">{$forcast_change}</td>
|
||||
</tr>
|
||||
<tr class="row1">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>{translate module=invoice}
|
||||
quota
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">
|
||||
{translate module=invoice}
|
||||
today
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($quota_current, '') }
|
||||
</b></td>
|
||||
<td width="330"> -</td>
|
||||
<td width="173" align="center"><b>-</b></td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>
|
||||
{translate module=invoice}
|
||||
arcredits
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($ar_credits_current, '') }
|
||||
</b></td>
|
||||
<td width="330">
|
||||
{ $list->format_currency_num($ar_credits_previous, '')}
|
||||
</td>
|
||||
<td width="173" align="center">{$ar_credit_change}</td>
|
||||
</tr>
|
||||
<tr class="row1">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>
|
||||
{translate module=invoice}
|
||||
arbalance
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($ar_balance_current, '') }
|
||||
</b></td>
|
||||
<td width="330">
|
||||
{ $list->format_currency_num($ar_balance_last, '')}
|
||||
</td>
|
||||
<td width="173" align="center"><b>-</b></td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td width="214" bgcolor="#ECFAEB">
|
||||
<b>{translate module=invoice}
|
||||
users
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{$users_current}
|
||||
</b></td>
|
||||
<td width="330">
|
||||
{$users_previous}
|
||||
</td>
|
||||
<td width="173" align="center">{$users_change}</td>
|
||||
</tr>
|
||||
{if $show_tickets == true}
|
||||
<tr class="row1">
|
||||
<td width="214" bgcolor="#ECFAEB"><b> <a href="?_page=ticket:main">
|
||||
{translate module=invoice}
|
||||
tickets
|
||||
{/translate}
|
||||
</a> </b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{$tickets_current}
|
||||
</b></td>
|
||||
<td width="330">
|
||||
{$tickets_previous}
|
||||
</td>
|
||||
<td width="173" align="center">{$tickets_change}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $show_affiliates == true}
|
||||
<tr class="row2">
|
||||
<td width="214" bgcolor="#ECFAEB"><b>
|
||||
{translate module=invoice}
|
||||
affiliatesales
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="273">{$period_compare}</td>
|
||||
<td width="358"><b>
|
||||
{ $list->format_currency_num($affiliate_sales_current, '') }
|
||||
</b></td>
|
||||
<td width="330">
|
||||
{ $list->format_currency_num($affiliate_sales_previous, '')}
|
||||
</td>
|
||||
<td width="173" align="center">{$affiliate_sales_change}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!--
|
||||
{if $list->is_installed(voip)}
|
||||
<tr class="row1">
|
||||
<td bgcolor="#ECFAEB"><strong>Avg. Call Duration </strong></td>
|
||||
<td>{$period_compare}</td>
|
||||
<td><strong>{$acd} minute(s)</strong></td>
|
||||
<td>{$acd_last} minute(s)</td>
|
||||
<td align="center">{$acd_change}</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td bgcolor="#ECFAEB"><strong>Avg. Successful Rate</strong></td>
|
||||
<td>{$period_compare}</td>
|
||||
<td><strong>{$asr}</strong></td>
|
||||
<td>{$asr_last}</td>
|
||||
<td align="center">{$asr_change}</td>
|
||||
</tr>
|
||||
<tr class="row1">
|
||||
<td bgcolor="#ECFAEB"><strong>Number of CDRs</strong></td>
|
||||
<td>{$period_compare}</td>
|
||||
<td><strong>{$cdrs}</strong></td>
|
||||
<td>{$cdrs_last}</td>
|
||||
<td align="center">{$cdrs_change}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
-->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{$calendar}
|
||||
{/if}
|
||||
|
||||
{if $list->is_installed('account_message')}
|
||||
{$method->exe_noauth('account_message','view')}
|
||||
<br>
|
||||
<b>Update System Message</b><br>
|
||||
<form method="post" action="">
|
||||
<textarea name="message" cols="50" rows="5">{$message}</textarea>
|
||||
<input type="hidden" name="do[]" value="account_message:add">
|
||||
<input type="hidden" name="_page" value="core:admin">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
{else}
|
||||
{$block->display('account:main')}
|
||||
{/if}
|
||||
|
3
themes/default_admin/blocks/core/cornerFrame.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
<body bgcolor="6375D6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="themes/{$THEME_NAME}/images/corner_back.gif">
|
||||
<img src="themes/{$THEME_NAME}/images/corner_back.gif">
|
34
themes/default_admin/blocks/core/debug.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="160" valign="top"> <img src="themes/{$THEME_NAME}/images/invisible.gif" width="160" height="1">
|
||||
</td>
|
||||
<td width="1" bgcolor="#CCCCCC"> <img src="themes/{$THEME_NAME}/images/invisible.gif" width="1" height="1"><br>
|
||||
</td>
|
||||
<td valign="top" width="600">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="8">
|
||||
<tr>
|
||||
<td valign="middle" class="body" align="center"> <font color="#999999">CPU
|
||||
time used:
|
||||
{$smarty.const.EXECUTION_TIME|truncate:5:""}
|
||||
|
||||
SQL Queries Used:
|
||||
{$smarty.const.SQL_QUERIES}
|
||||
</font> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<img src="themes/{$THEME_NAME}/images/invisible.gif" width="575" height="1">
|
||||
</td>
|
||||
<td width="1" bgcolor="#CCCCCC"> <img src="themes/{$THEME_NAME}/images/invisible.gif" width="1" height="1"><br>
|
||||
</td>
|
||||
<td width="50%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="160" valign="top"></td>
|
||||
<td width="1" bgcolor="#CCCCCC"></td>
|
||||
<td height="1" width="600" bgcolor="#CCCCCC"><img src="themes/{$THEME_NAME}/images/invisible.gif" width="1" height="1"></td>
|
||||
<td width="1" bgcolor="#CCCCCC"></td>
|
||||
<td width="50%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
1
themes/default_admin/blocks/core/invalid_page.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<BR><BR><center>Sorry, the page you specified does not exist on our server!</center>
|
252
themes/default_admin/blocks/core/leftFrameBlue.tpl
Normal file
@@ -0,0 +1,252 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta http-equiv="no-cache">
|
||||
<TITLE>{$smarty.const.SITE_NAME}</TITLE>
|
||||
<link rel="stylesheet" href="includes/phplayers/layerstreemenu.css" type="text/css"></link>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
@import url("includes/phplayers/layerstreemenu-hidden.css");
|
||||
//-->
|
||||
</style>
|
||||
|
||||
<script language="JavaScript" type="text/javascript" src="includes/phplayers/libjs/layersmenu-browser_detection.js"></script>
|
||||
<script language="JavaScript" type="text/javascript" src="includes/phplayers/libjs/layerstreemenu-cookies.js"></script>
|
||||
|
||||
{literal}
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!-- START
|
||||
function openUrl(u) {
|
||||
var random1=Math.round(Math.random()+4*123);
|
||||
var random2=Math.round(Math.random()+ random1 * 321);
|
||||
window.open('admin.php'+u+'&random='+random1+'='+random2,'mainFrame','');
|
||||
}
|
||||
|
||||
function exitAdmin() {
|
||||
var random1=Math.round(Math.random()+4*123);
|
||||
var random2=Math.round(Math.random()+ random1 * 321);
|
||||
parent.document.location='index.php';
|
||||
}
|
||||
// END -->
|
||||
</SCRIPT>
|
||||
</HEAD>
|
||||
<body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
||||
<div style="height:68px;"> </div>
|
||||
<table width="230px" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td bgcolor="#f1f1f1" style="border: 1px solid #999; border-top: 1px solid #999; border-bottom: 0px; padding: 5px; padding-left:10px;">
|
||||
<table width="100%" cellspacing="0" cellpadding="1" border="0">
|
||||
<tr>
|
||||
<td align="center"><img src="themes/default_admin/images/icons/user_16.gif" border="0"></td>
|
||||
<td><nobr><input id='account_admin' value='all' size=22 style='font-size:9' onKeyPress='if(checkEnter(event)) { openQuickSearch_account(); }' onfocus='javascript:this.select()'> <input type='button' value='Go' style='font-size:9' onclick='javascript:openQuickSearch_account()'></nobr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><img src="themes/default_admin/images/icons/calc_16.gif" border="0"></td>
|
||||
<td><nobr><input id='invoice' value='all' size=22 style='font-size:9' onKeyPress='if(checkEnter(event)) { openQuickSearch_invoice(); }' onfocus='javascript:this.select()'> <input type='button' value='Go' style='font-size:9' onclick='javascript:openQuickSearch_invoice()'></nobr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><img src="themes/default_admin/images/icons/tools_16.gif" border="0"></td>
|
||||
<td><nobr><input id='service' value='all' size=22 style='font-size:9' onKeyPress='if(checkEnter(event)) { openQuickSearch_service(); }' onfocus='javascript:this.select()'> <input type='button' value='Go' style='font-size:9' onclick='javascript:openQuickSearch_service()'></nobr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#f9f9f9" cellpadding="1" style="border: 1px solid #999; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color:#003399; padding: 5px;">
|
||||
{/literal}
|
||||
{$list->generate_admin_menu()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#dddddd" style="border: 1px solid #999; border-top: 1px solid #fff; font-size:9px; font-family:Arial, Helvetica, sans-serif; color:#999; text-align:center; padding: 2px;">
|
||||
Copyright 2004-2006, Agileco, LLC.<br>
|
||||
All Rights Reserved.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{literal}
|
||||
<script language="JavaScript1.2">
|
||||
|
||||
// function for calling the account quicksearch
|
||||
function openQuickSearch_account() {
|
||||
var m = 'account_admin';
|
||||
var st= "";
|
||||
var input = document.getElementById(m).value;
|
||||
if (input.indexOf(" ")== -1) {
|
||||
var s = input;
|
||||
if(s == '[i]' || s == 'inactive') {
|
||||
st += '&account_admin_status=0';
|
||||
} else if(s == '' || s == 'all') {
|
||||
st += '';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$today_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$week_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$month_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s.match(/fn:/)) {
|
||||
var str = s.replace(/fn:/, "");
|
||||
st += '&account_admin_first_name='+str;
|
||||
} else if(s.match(/ln:/)) {
|
||||
var str = s.replace(/ln:/, "");
|
||||
st += '&account_admin_last_name='+str;
|
||||
} else if(s.match(/co:/)) {
|
||||
var str = s.replace(/co:/, "");
|
||||
st += '&account_admin_company='+str;
|
||||
} else if(s.match(/em:/)) {
|
||||
var str = s.replace(/em:/, "");
|
||||
st += '&account_admin_email='+str;
|
||||
} else {
|
||||
st += '&account_admin_username=' +s;
|
||||
}
|
||||
} else {
|
||||
var array=input.split(" ");
|
||||
var num=0;
|
||||
while(num < array.length)
|
||||
{
|
||||
var s = array[num];
|
||||
if(s == '[i]' || s == 'inactive') {
|
||||
st += '&account_admin_status=0';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$today_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$week_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&account_admin_date_orig[0]={/literal}{$month_start}{literal}&field_option[account_admin_date_orig][0]=>';
|
||||
} else if(s.match(/fn:/)) {
|
||||
var str = s.replace(/fn:/, "");
|
||||
st += '&account_admin_first_name='+str;
|
||||
} else if(s.match(/ln:/)) {
|
||||
var str = s.replace(/ln:/, "");
|
||||
st += '&account_admin_last_name='+str;
|
||||
} else if(s.match(/co:/)) {
|
||||
var str = s.replace(/co:/, "");
|
||||
st += '&account_admin_company='+str;
|
||||
} else if(s.match(/em:/)) {
|
||||
var str = s.replace(/em:/, "");
|
||||
st += '&account_admin_email='+str;
|
||||
} else {
|
||||
st += '&account_admin_username=' +s;
|
||||
}
|
||||
num+=1;
|
||||
}
|
||||
}
|
||||
var u = '?_page=core:search&module='+m+'&_next_page_one=view&_escape=1'+st;
|
||||
openUrl(u);
|
||||
}
|
||||
|
||||
// function for calling the invoice quicksearch
|
||||
function openQuickSearch_invoice() {
|
||||
var m = 'invoice';
|
||||
var st= "";
|
||||
var input = document.getElementById(m).value;
|
||||
if (input.indexOf(" ")== -1) {
|
||||
var s = input;
|
||||
if(s == '[d]' || s == 'due') {
|
||||
st += '&invoice_billing_status=0';
|
||||
} else if(s == '[p]' || s == 'pending') {
|
||||
st += '&invoice_billing_status=1&invoice_process_status=0';
|
||||
} else if(s == '' || s == 'all') {
|
||||
st += '';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$today_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$week_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$month_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else {
|
||||
st += '&invoice_id=' +s;
|
||||
}
|
||||
} else {
|
||||
var array=input.split(" ");
|
||||
var num=0;
|
||||
while(num < array.length)
|
||||
{
|
||||
var s = array[num];
|
||||
if(s == '[d]' || s == 'due') {
|
||||
st += '&invoice_billing_status=0';
|
||||
} else if(s == '[p]' || s == 'pending') {
|
||||
st += '&invoice_billing_status=1&invoice_process_status=0';
|
||||
} else if(s == '' || s == 'all') {
|
||||
st += '';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$today_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$week_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&invoice_date_orig[0]={/literal}{$month_start}{literal}&field_option[invoice_date_orig][0]=>';
|
||||
} else {
|
||||
st += '&invoice_id=' +s;
|
||||
}
|
||||
num+=1;
|
||||
}
|
||||
}
|
||||
var u = '?_page=core:search&module='+m+'&_next_page_one=view&_escape=1'+st;
|
||||
openUrl(u);
|
||||
}
|
||||
|
||||
|
||||
// function for calling the invoice quicksearch
|
||||
function openQuickSearch_service() {
|
||||
var m = 'service';
|
||||
var st= "";
|
||||
var input = document.getElementById(m).value;
|
||||
var a = parseInt(input);
|
||||
var b = parseFloat(input);
|
||||
if (input == '' || input == 'all') {
|
||||
// do nothing
|
||||
} else if (a == b) {
|
||||
st += '&service_id='+input;
|
||||
} else if (input.indexOf(".") ) {
|
||||
var array=input.split(".");
|
||||
var domain = array[0];
|
||||
if(array.length > 1) var tld = array[1]; else var tld = '';
|
||||
st += '&service_domain_name='+domain+'&service_domain_tld='+tld;
|
||||
} else if (input.indexOf(" ")== -1) {
|
||||
var s = input;
|
||||
if(s == '[i]' || s == 'inactive') {
|
||||
st += '&service_active=0';
|
||||
} else if(s == '' || s == 'all') {
|
||||
st += '';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&service_date_orig[0]={/literal}{$today_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&service_date_orig[0]={/literal}{$week_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&service_date_orig[0]={/literal}{$month_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else {
|
||||
st += '&service_id=' +s;
|
||||
}
|
||||
} else {
|
||||
var array=input.split(" ");
|
||||
var num=0;
|
||||
while(num < array.length)
|
||||
{
|
||||
var s = array[num];
|
||||
if(s == '[i]' || s == 'inactive') {
|
||||
st += '&service_active=0';
|
||||
} else if(s == '' || s == 'all') {
|
||||
st += '';
|
||||
} else if(s == '[t]' || s == 'today') {
|
||||
st += '&service_date_orig[0]={/literal}{$today_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else if(s == '[w]' || s == 'week') {
|
||||
st += '&service_date_orig[0]={/literal}{$week_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else if(s == '[m]' || s == 'month') {
|
||||
st += '&service_date_orig[0]={/literal}{$month_start}{literal}&field_option[service_date_orig][0]=>';
|
||||
} else {
|
||||
st += '&service_id=' +s;
|
||||
}
|
||||
num+=1;
|
||||
}
|
||||
}
|
||||
var u = '?_page=core:search&module='+m+'&_next_page_one=view&_escape=1'+st;
|
||||
openUrl(u);
|
||||
}
|
||||
|
||||
</script> {/literal}
|
||||
</BODY>
|
||||
</HTML>
|
62
themes/default_admin/blocks/core/top_clean.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta http-equiv="expires" content="Wed, 26 Feb 2004 08:21:57 GMT">
|
||||
<meta http-equiv="no-cache">
|
||||
|
||||
<TITLE>{$smarty.const.SITE_NAME}</TITLE>
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!-- START
|
||||
var pgescape = "&_escape=1&_escape_next=1";
|
||||
var sess_expires = "{$smarty.const.SESSION_EXPIRE}";
|
||||
var cookie_name = "{$smarty.const.COOKIE_NAME}";
|
||||
var SESS = "{$SESS}";
|
||||
var URL = "{$URL}";
|
||||
var SSL_URL = "{$SSL_URL}";
|
||||
var THEME_NAME = "{$THEME_NAME}";
|
||||
{if $smarty.const.REDIRECT_PAGE!='REDIRECT_PAGE' && $smarty.const.REDIRECT_PAGE!=''}document.location.href='{$smarty.const.REDIRECT_PAGE}';{/if}
|
||||
{literal}
|
||||
if(pgescape != "") {
|
||||
pgescape = "&_escape=1&_escape_next=1";
|
||||
} else {
|
||||
pgescape = "";
|
||||
}
|
||||
{/literal}
|
||||
// END -->
|
||||
</SCRIPT>
|
||||
|
||||
<!-- Load the main stylesheet -->
|
||||
<link rel="stylesheet" href="themes/{$THEME_NAME}/iframe.css" type="text/css">
|
||||
|
||||
<!-- Load the main javascript code -->
|
||||
<SCRIPT SRC="themes/{$THEME_NAME}/top.js"></SCRIPT>
|
||||
|
||||
<!-- Load the JSCalender code -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="includes/jscalendar/calendar-blue.css" title="win2k-1" />
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar_stripped.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/lang/calendar-{$smarty.const.LANG}.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar-setup_stripped.js"></script>
|
||||
|
||||
<!-- Load the popup class -->
|
||||
{popup_init src="$URL/includes/overlib/overlib.js"}
|
||||
|
||||
<!-- prototype -->
|
||||
{if $VAR._page != 'email_template_translate:add' && $VAR._page != 'email_template_translate:view' &&
|
||||
$VAR._page != 'newsletter:add' && $VAR._page != 'newsletter:send' && $VAR._page != 'newsletter:view' &&
|
||||
$VAR._page != 'product:add' && $VAR._page != 'product_translate:edit' &&
|
||||
$VAR._page != 'product_cat_translate:add' && $VAR._page != 'product_cat_translate:view' &&
|
||||
$VAR._page != 'static_page_translate:add' && $VAR._page != 'static_page_translate:view' }
|
||||
<script src="includes/javascript/prototype.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/effects.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/dragdrop.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/controls.js" type="text/javascript"></script>
|
||||
{/if}
|
||||
|
||||
</HEAD>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0" class="body">
|
||||
|
||||
<!-- display the alert block -->
|
||||
{if $alert}
|
||||
{ $block->display("core:alert") }
|
||||
{/if}
|
58
themes/default_admin/blocks/core/top_frame.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>{$smarty.const.SITE_NAME}</TITLE>
|
||||
<meta http-equiv="expires" content="Wed, 26 Feb 2004 08:21:57 GMT">
|
||||
<meta http-equiv="no-cache">
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!-- START
|
||||
var pgescape = "";
|
||||
var sess_expires = "{$smarty.const.SESSION_EXPIRE}";
|
||||
var cookie_name = "{$smarty.const.COOKIE_NAME}";
|
||||
var SESS = "{$SESS}";
|
||||
var URL = "{$URL}";
|
||||
var SSL_URL = "{$SSL_URL}";
|
||||
var THEME_NAME = "{$THEME_NAME}";
|
||||
{if $smarty.const.REDIRECT_PAGE!='REDIRECT_PAGE' && $smarty.const.REDIRECT_PAGE!=''}document.location.href='{$smarty.const.REDIRECT_PAGE}';{/if}
|
||||
{literal}
|
||||
if (top.location == location) {
|
||||
top.location.href = document.location.href + '?tid=default_admin&tid=default_admin';
|
||||
} {/literal}
|
||||
|
||||
// END -->
|
||||
</SCRIPT>
|
||||
|
||||
<!-- Load the main stylesheet -->
|
||||
<link rel="stylesheet" href="themes/{$THEME_NAME}/style.css" type="text/css">
|
||||
|
||||
<!-- Load the main javascript code -->
|
||||
<SCRIPT SRC="themes/{$THEME_NAME}/top.js"></SCRIPT>
|
||||
|
||||
<!-- Load the JSCalender code -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="includes/jscalendar/calendar-blue.css" title="win2k-1" />
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar_stripped.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/lang/calendar-{$smarty.const.LANG}.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar-setup_stripped.js"></script>
|
||||
|
||||
<!-- Load the popup class -->
|
||||
{popup_init src="$URL/includes/overlib/overlib.js"}
|
||||
|
||||
<!-- prototype -->
|
||||
{if $VAR._page != 'email_template_translate:add' && $VAR._page != 'email_template_translate:view' &&
|
||||
$VAR._page != 'newsletter:add' && $VAR._page != 'newsletter:send' && $VAR._page != 'newsletter:view' &&
|
||||
$VAR._page != 'product:add' && $VAR._page != 'product_translate:edit' &&
|
||||
$VAR._page != 'product_cat_translate:add' && $VAR._page != 'product_cat_translate:view' &&
|
||||
$VAR._page != 'static_page_translate:add' && $VAR._page != 'static_page_translate:view' }
|
||||
<script src="includes/javascript/prototype.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/effects.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/dragdrop.js" type="text/javascript"></script>
|
||||
<script src="includes/javascript/controls.js" type="text/javascript"></script>
|
||||
{/if}
|
||||
|
||||
</HEAD>
|
||||
<body {if $VAR._print != ""}onload="parent['mainFrame'].print();"{/if} bgcolor="#FFFFFF" text="#000000" leftmargin="15" rightmargin="15" topmargin="15" bottommargin="10" marginwidth="15" marginheight="15" class="body">
|
||||
|
||||
<!-- display the alert block -->
|
||||
{if $alert}
|
||||
{ $block->display("core:alert") }
|
||||
{/if}
|
145
themes/default_admin/iframe.css
Normal file
@@ -0,0 +1,145 @@
|
||||
body {
|
||||
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
font-size: 11px
|
||||
}
|
||||
|
||||
.body {
|
||||
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
font-size: 11px
|
||||
}
|
||||
|
||||
input,textarea,select
|
||||
{
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
background-color: #FFFFFF;
|
||||
border-width: 1px;
|
||||
border-color: #CCCCCC;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, select:focus
|
||||
{
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
background-color: #FFFFC1;
|
||||
border-width: 1px;
|
||||
border-color: #000000;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#srchpage select {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
border-color: #CCCCCC;
|
||||
background-color: #506DC7;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#srchpage select:focus {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
border-color: #CCCCCC;
|
||||
background-color: #506DC7;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
||||
.form_field_error
|
||||
{
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
background-color: #F9DEC6;
|
||||
border-width: 1px;
|
||||
border-color: #CCCCCC;
|
||||
}
|
||||
|
||||
|
||||
.form_button
|
||||
{
|
||||
font-size: 11px;
|
||||
background-color: #FCFCFC;
|
||||
border-color: #333333;
|
||||
border-width: 1px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.form_button_dead
|
||||
{
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
background-color: #FFFFFF;
|
||||
border-color: #FFFFFF;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
|
||||
.table_background
|
||||
{
|
||||
background-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.table_heading {font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
height: 14px;
|
||||
background-color: #999;
|
||||
border-color: #FFFFFF;
|
||||
padding: 3px;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
.table_heading_txt {
|
||||
font-size: 12px;
|
||||
height: 14px;
|
||||
color: #FFFFFF;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.row1 {
|
||||
font-size: 11px;
|
||||
background-color: #F9F9F9;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.row2 {
|
||||
font-size: 11px;
|
||||
background-color: #FCFCFC;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.row_select
|
||||
{
|
||||
font-size: 11px;
|
||||
background-color: #C9EEFF;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.row_mouse_over {
|
||||
font-size: 11px;
|
||||
background-color: #FFFFCC;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.row_mouse_over_select {
|
||||
font-size: 11px;
|
||||
background-color: #BEDFF1;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
a:link,a:active,a:visited { text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
|
||||
|
||||
div.auto_complete { width: 450px; background: #fff; }
|
||||
div.auto_complete ul { border:1px solid #888; margin:0; padding:0; width:100%; list-style-type:none; }
|
||||
div.auto_complete ul li { margin:0; padding:3px; }
|
||||
div.auto_complete ul li.selected { background-color: #ffb; }
|
||||
div.auto_complete ul strong.highlight { color: #800; margin:0; padding:0; }
|
BIN
themes/default_admin/images/corner_back.gif
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
themes/default_admin/images/currency/AUD.gif
Normal file
After Width: | Height: | Size: 620 B |
BIN
themes/default_admin/images/currency/CAD.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
themes/default_admin/images/currency/CHF.gif
Normal file
After Width: | Height: | Size: 333 B |
BIN
themes/default_admin/images/currency/DKK.gif
Normal file
After Width: | Height: | Size: 217 B |
BIN
themes/default_admin/images/currency/EUR.gif
Normal file
After Width: | Height: | Size: 313 B |
BIN
themes/default_admin/images/currency/GBP.gif
Normal file
After Width: | Height: | Size: 673 B |
BIN
themes/default_admin/images/currency/HKD.gif
Normal file
After Width: | Height: | Size: 337 B |
BIN
themes/default_admin/images/currency/JPY.gif
Normal file
After Width: | Height: | Size: 202 B |
BIN
themes/default_admin/images/currency/MXN.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/default_admin/images/currency/MYR.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/default_admin/images/currency/NOK.gif
Normal file
After Width: | Height: | Size: 359 B |
BIN
themes/default_admin/images/currency/NZD.gif
Normal file
After Width: | Height: | Size: 609 B |
BIN
themes/default_admin/images/currency/RUR.gif
Normal file
After Width: | Height: | Size: 144 B |
BIN
themes/default_admin/images/currency/SEK.gif
Normal file
After Width: | Height: | Size: 343 B |
BIN
themes/default_admin/images/currency/USD.gif
Normal file
After Width: | Height: | Size: 96 B |
BIN
themes/default_admin/images/currency/ZAR.gif
Normal file
After Width: | Height: | Size: 584 B |
BIN
themes/default_admin/images/db_asc.gif
Normal file
After Width: | Height: | Size: 70 B |
BIN
themes/default_admin/images/db_desc.gif
Normal file
After Width: | Height: | Size: 70 B |
BIN
themes/default_admin/images/htaccess_error.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/about_16.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/default_admin/images/icons/about_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/about_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/add_16.gif
Normal file
After Width: | Height: | Size: 588 B |
BIN
themes/default_admin/images/icons/add_24.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/default_admin/images/icons/add_32.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/addbk_16.gif
Normal file
After Width: | Height: | Size: 373 B |
BIN
themes/default_admin/images/icons/addbk_24.gif
Normal file
After Width: | Height: | Size: 737 B |
BIN
themes/default_admin/images/icons/addbk_32.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/adfav_16.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/default_admin/images/icons/adfav_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/adfav_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/apps_16.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/default_admin/images/icons/apps_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/apps_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/back_16.gif
Normal file
After Width: | Height: | Size: 595 B |
BIN
themes/default_admin/images/icons/back_24.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/default_admin/images/icons/back_32.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/cal_16.gif
Normal file
After Width: | Height: | Size: 371 B |
BIN
themes/default_admin/images/icons/cal_24.gif
Normal file
After Width: | Height: | Size: 758 B |
BIN
themes/default_admin/images/icons/cal_32.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/default_admin/images/icons/calc_16.gif
Normal file
After Width: | Height: | Size: 619 B |
BIN
themes/default_admin/images/icons/calc_24.gif
Normal file
After Width: | Height: | Size: 772 B |
BIN
themes/default_admin/images/icons/calc_32.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/default_admin/images/icons/cancl_16.gif
Normal file
After Width: | Height: | Size: 599 B |
BIN
themes/default_admin/images/icons/cancl_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/cancl_32.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/default_admin/images/icons/cart_16.gif
Normal file
After Width: | Height: | Size: 636 B |
BIN
themes/default_admin/images/icons/cart_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/cart_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/cd_16.gif
Normal file
After Width: | Height: | Size: 664 B |
BIN
themes/default_admin/images/icons/cd_24.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/default_admin/images/icons/cd_32.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
themes/default_admin/images/icons/chart_16.gif
Normal file
After Width: | Height: | Size: 646 B |
BIN
themes/default_admin/images/icons/chart_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/chart_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/close_16.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/default_admin/images/icons/close_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/close_32.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/default_admin/images/icons/confg_16.gif
Normal file
After Width: | Height: | Size: 625 B |
BIN
themes/default_admin/images/icons/confg_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/confg_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/copy_16.gif
Normal file
After Width: | Height: | Size: 648 B |
BIN
themes/default_admin/images/icons/copy_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/copy_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/cut_16.gif
Normal file
After Width: | Height: | Size: 628 B |
BIN
themes/default_admin/images/icons/cut_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/cut_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/del_16.gif
Normal file
After Width: | Height: | Size: 235 B |
BIN
themes/default_admin/images/icons/del_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/del_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/docs_16.gif
Normal file
After Width: | Height: | Size: 601 B |
BIN
themes/default_admin/images/icons/docs_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/docs_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/down_16.gif
Normal file
After Width: | Height: | Size: 589 B |
BIN
themes/default_admin/images/icons/down_24.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/default_admin/images/icons/down_32.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/edit_16.gif
Normal file
After Width: | Height: | Size: 608 B |
BIN
themes/default_admin/images/icons/edit_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/edit_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/exp_16.gif
Normal file
After Width: | Height: | Size: 604 B |
BIN
themes/default_admin/images/icons/exp_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/exp_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/fastf_16.gif
Normal file
After Width: | Height: | Size: 345 B |
BIN
themes/default_admin/images/icons/fastf_24.gif
Normal file
After Width: | Height: | Size: 686 B |
BIN
themes/default_admin/images/icons/fastf_32.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/default_admin/images/icons/favs_16.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/default_admin/images/icons/favs_24.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/default_admin/images/icons/favs_32.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default_admin/images/icons/fax_16.gif
Normal file
After Width: | Height: | Size: 617 B |
BIN
themes/default_admin/images/icons/fax_24.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |