- <?php
- // +-------------------------------------------------------------+
- // | DeskPRO v [2.0.1 Production]
- // | Copyright (C) 2001 - 2004 Headstart Solutions Limited
- // | Supplied by WTN-WDYL
- // | Nullified by WTN-WDYL
- // | Distribution via WebForum, ForumRU and associated file dumps
- // +-------------------------------------------------------------+
- // | DESKPRO IS NOT FREE SOFTWARE
- // +-------------------------------------------------------------+
- // | License ID : Full Enterprise License =) ...
- // | License Owner : WTN-WDYL Team
- // +-------------------------------------------------------------+
- // | $RCSfile: index.php,v $
- // | $Date: 2004/02/10 01:34:25 $
- // | $Revision: 1.38 $
- // +-------------------------------------------------------------+
- // | File Details:
- // | - Administration interface home page
- // +-------------------------------------------------------------+
- error_reporting(E_ALL & ~E_NOTICE);
- require_once('./global.php');
- //Nullify WTN-WDYL Team
- include "./settings_include.php";
- admin_header('Links', 'Admin Home');
- // get packed size
- if ($result = $db->query_return("SHOW VARIABLES LIKE 'max_allowed_packet'")) {
- $maxpacket = $result['Value'];
- $maxpacket = number_format($maxpacket / 1048576, 2) . ' MB';
- } else {
- $maxpacket = 'not available';
- }
- ?>
- <table width="585" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td bgcolor="#A4A4A4" height="17">
- <table border="0" cellspacing="0" cellpadding="0" height="18">
- <tr>
- <td width="19" bgcolor="#BF4343" align="center"><img src="./../images/admin/bul040.gif" width="13" height="14"></td>
- <td class="txt010" bgcolor="#727272"><font color="#FFFFFF"> Welcome
- to the DeskPro admin interface </font></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br />
- <table width="585" border="0" cellspacing="0" cellpadding="6">
- <tr>
- <td width="300">
- <!--WTN-WDYL-->
- <?php
- $version_type = 'DESKPRO ENTERPRISE';
- $max_users = max_limits('tech', 1);
- $tickets_left = max_limits('ticket', 1);
- $faqs_left = max_limits('faq', 1);
- $HOST=$HTTP_HOST;
- if ($max_users == -1) {
- $max_users = "Unlimited";
- }
- if ($tickets_left == -1) {
- $tickets_left = "Unlimited";
- }
- if ($faqs_left == -1) {
- $faqs_left = "Unlimited";
- }
- echo table_border("
- <table cellpadding="1">
- <tr><td colspan="3" align="center" valign="middle"><b><u>LICENSE INFORMATION</u></b></td></tr>
- <tr><td nospan="nospan" width="120"><b>License Number</b></td><td width="15" align="middle">:</td><td>XX-XX-XX</td></tr>
- <tr><td><b>License Owned by</b></td><td width="15" align="middle">:</td><td>WTN-WDYL Team `2004</td></tr>
- <tr><td><b>Product Licensed</b></td><td width="15" align="middle">:</td><td>$version_type</td></td></tr>
- <tr><td><b>Maximum Technicians</b></td><td width="15" align="middle">:</td><td>$max_users</td></td></tr>
- <tr><td><b>Tickets Remaining</b></td><td width="15" align="middle">:</td><td>$tickets_left</td></td></tr>
- <tr><td><b>FAQ Entries Remaining</b></td><td width="15" align="middle">:</td><td>$faqs_left</td></td></tr>
- <tr><td><b>Upgrade License</b></td><td width="15" align="middle">:</td><td>Disable by WTN-WDYL Team</td></tr>
- <tr><td><b>Installed Version</b></td><td width="15" align="middle">:</td><td>v$settings[deskpro_version]</td></tr>
- </table>
- ");
- ?>
- </td><td>
- <b>DeskPRO News:</b><br />
- <!--WTN-WDYL-->
- <BR /><BR />
- <img src="./../images/admin/bul051.gif" width="11" height="8" hspace="10">
- None<br />
- <img src="./../images/admin/bul050.gif" width="11" height="8" hspace="10">
- None<br />
- <img src="./../images/admin/bul051.gif" width="11" height="8" hspace="10">
- None<br />
- <img src="./../images/admin/bul052.gif" width="11" height="9" hspace="10">
- None
- <br /><br />
- </td>
- </tr></table>
- <br /><br />
- <table width="575"><tr><td>
- <?php
- ##################################### INSTALLATION STEPS #####################################
- // get config data
- $config = unserialize(get_data('config'));
- if (!is_array($config)) {
- echo table_border("<b>You should start your configuration of DeskPRO by running the <a href="basic_config.php">Basic Configuration system</a>. This will guide you through all the steps you need to get DeskPRO up and running in your environment.</b>");
- echo "<BR /><BR />";
- } elseif (count($config) < 7) {
- echo table_border("<b>You should finish your configuration of DeskPRO by running the <a href="basic_config.php">Basic Configuration system</a>. It is important that you complete these simple steps to get DeskPRO up and running in your environment</b>");
- echo "<BR /><BR />";
- }
- ##################################### ICONS #####################################
- ?>
- <table border="0" cellpadding="10" cellspacing="0" align="center">
- <tr>
- <td width="95" height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="settings.php" class="iconCaption"><img src="./../images/admin/icon010.gif" width="21" height="22" vspace="5" border="0"><br />
- Settings</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="languages.php" class="iconCaption"><img src="./../images/admin/icon020.gif" width="23" height="22" vspace="5" border="0"><br />
- Languages</a></td>
- </tr>
- </table></td>
- </tr>
- </table> </td>
- <td height="75"><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="email.php?do=view" class="iconCaption"><img src="./../images/admin/icon030.gif" width="22" height="23" vspace="5" border="0"><br />
- EMail Gateway</a></td>
- </tr>
- </table></td>
- </tr>
- </table> </td>
- <td height="75"><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="reports.php?do=viewreports" class="iconCaption"><img src="./../images/admin/icon040.gif" width="18" height="24" vspace="5" border="0"><br />
- Reports</a></td>
- </tr>
- </table></td>
- </tr>
- </table> </td>
- <td height="75"><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="tech.php?do=view" class="iconCaption"><img src="./../images/admin/icon050.gif" width="29" height="20" vspace="5" border="0"><br />
- Technicians </a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="category.php" class="iconCaption"><img src="./../images/admin/icon070.gif" width="38" height="20" vspace="5" border="0"><br />
- Categories</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="priority.php" class="iconCaption"><img src="./../images/admin/icon080.gif" width="31" height="22" vspace="5" border="0"><br />
- Priorities</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="templates.php?do=view" class="iconCaption"><img src="./../images/admin/icon090.gif" width="24" height="25" vspace="5" border="0"><br />
- Design & Style</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="cron.php" class="iconCaption"><img src="./../images/admin/icon100.gif" width="25" height="22" vspace="5" border="0"><br />
- Scheduled Jobs</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="ticket_fields.php?do=view" class="iconCaption"><img src="./../images/admin/icon110.gif" width="18" height="22" vspace="5" border="0"><br />
- Ticket Fields</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="email2.php" class="iconCaption"><img src="./../images/admin/icon130.gif" width="35" height="15" vspace="5" border="0"><br />
- Send Newsletter</a></td>
- </tr>
- </table> </td>
- </tr>
- </table></td>
- <td> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="payment.php?do=report" class="iconCaption"><img src="./../images/admin/icon140.gif" width="31" height="20" vspace="5" border="0"><br />
- Payment Function</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="ban.php" class="iconCaption"><img src="./../images/admin/icon160.gif" width="38" height="22" vspace="5" border="0"><br />
- Banning</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td><table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="backup.php" class="iconCaption"><img src="./../images/admin/icon170.gif" width="37" height="19" vspace="5" border="0"><br />
- Backup</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td height="75"> <table width="95" border="0" cellspacing="0" cellpadding="0" height="75">
- <tr>
- <td width="95" bgcolor="#BF4343"><table width="95" border="0" cellspacing="1" cellpadding="8" height="75">
- <tr>
- <td align="center" valign="bottom" bgcolor="#FFFFFF"><a href="user_fields.php?do=view" class="iconCaption"><img src="./../images/admin/icon120.gif" width="18" height="22" vspace="5" border="0"><br />
- User Fields</a></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>