<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}
$('#cc').click(function(){ldelim}var options = {ldelim}
target:'#ccc',
url:'index.php?action=clearcache',
timeout:3000{rdelim};$(this).ajaxSubmit(options); return true;{rdelim});


$('#ctc').click(function(){ldelim}var options = {ldelim}
target:'#ctcc',
url:'index.php?action=cleartplcache',
timeout:3000{rdelim};$(this).ajaxSubmit(options); return true;{rdelim}); 

$('#dbopt').submit(function(){ldelim}var options = {ldelim}
target:'#db_res',
timeout:3000{rdelim};$(this).ajaxSubmit(options); return false;{rdelim});{rdelim}); 

-->
</script>

<table width="650" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="50%" valign="top">
    <div class="header"><img class="absmiddle" src="{$imgpath}/about.png" /> {#Start_Infos#}</div>
    <div class="sysinfos">
    {#SysInfosInf#}
    <br />
    <br />
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><strong>{#Start_UserAll#}:</strong></td>
          <td align="right"><a href="?do=user&amp;sub=showusers">{$all_user}</a></td>
        </tr>
        {if $is_pro==1}
        <tr>
          <td><strong>{#Start_ShoArti#}:</strong></td>
          <td align="right"><a href="?do=shop&amp;sub=orders">{$shop_articles}</a></td>
        </tr>
       
        <tr>
          <td><strong>{#Start_ShopOrd#}:</strong></td>
          <td align="right"><a href="?do=shop&amp;sub=orders">{$shop_ordercount}</a></td>
        </tr>
        {/if}
       </table>
     </div>
    
     {if perm('users_overview')}
    <div class="header"><img class="absmiddle" src="{$imgpath}/users_start.png" /> {#Start_NUser#}</div>
    <div class="sysinfos">
   {$last_user}
   </div>
   {/if}
    
    
  
    <div class="header"><img class="absmiddle" src="{$imgpath}/database_options.png" />{#Start_DbOpts#}</div>
    <div class="sysinfos" style="font-weight:normal; text-align:center">
    
    <form onsubmit="" id="dbopt" method="post" action="index.php?action=db_options">
    <select style="width:99%" size="10" name="ta[]" multiple="multiple">
            {$db_fields}
    </select>
    <div style="padding:3px">
   <label {popup width=400 text=$config_vars.Sys_db_repairInf}><input type="radio" name="what" value="repair" checked="checked" />{#Start_Dbrep#}</label>
    <label {popup width=400 text=$config_vars.Sys_db_optimizeInf}><input type="radio" name="what" value="optimize" />{#Start_DbOpt#}</label>
    </div>
   
    <div id="db_res" style="font-style:italic"></div>
    <input class="button" type="submit" />
    </form>
    
    
    </div>
    </td>
    <td width="40" valign="top">&nbsp;&nbsp;
    
    </td>
    <td width="50%" valign="top">
    
    
    {if perm('forum')}
    <div class="header"><img class="absmiddle" src="{$imgpath}/megaphone.png" /> {#Start_NPosts#}</div>
    <div class="sysinfos">
   {$NewForumPosts}
   </div>
   {/if}
    
    <div class="header"><img class="absmiddle" src="{$imgpath}/lifebelt.png" /> {#Start_SOpts#}</div>
    <div class="sysinfos" style="font-weight:normal">
    <img class="absmiddle" src="{$imgpath}/garbage_full.png" />&nbsp;<a {popup sticky=$config_vars.POPSTICKY  width=400 text=$config_vars.Sys_clearcacheInf} id="cc" href="javascript:void(0);">{#Sys_clearcache#}</a><span style="margin-left:5px; font-style:italic" id="ccc"></span><br />
    <img class="absmiddle" src="{$imgpath}/garbage_full.png" />&nbsp;<a {popup sticky=$config_vars.POPSTICKY  width=400 text=$config_vars.Sys_clearTplcacheInf} id="ctc" href="javascript:void(0);">{#Sys_clearTplcache#}</a><span style="margin-left:5px; font-style:italic" id="ctcc"></span><br />
    </div>
    
   <div class="header"><img class="absmiddle" src="{$imgpath}/cubes.png" /> {#Global_SettingsSections#} (<a href="index.php?do=settings&sub=sectionsettings">{#Start_Edit#}</a>)</div>
    <div class="sysinfos">
   <div style="height:150px; overflow:auto">{$ActiveAreas}</div>
   </div>
    
    <div class="header"><img class="absmiddle" src="{$imgpath}/sysinfo.png" /> {#Start_SysInfos#}</div>
    <div class="sysinfos" style="font-weight:normal">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><strong>{#Start_KVersion#}:</strong></td>
          <td align="right">{$koobi_version}</td>
        </tr>

        <tr>
          <td width="180"><strong>{#Start_phpV#}:</strong></td>
          <td align="right">{$phpversion}</td>
        </tr>
        <tr>
          <td width="180"><strong>{#Start_mysqlV#}:</strong></td>
          <td align="right">{$mysqlversion}</td>
        </tr>
        <tr>
          <td width="180"><strong>{#Start_maxUpload#}: </strong></td>
          <td align="right">{$maxupload}</td>
        </tr>
        <tr>
          <td width="180"><strong>{#Start_maxRam#}:</strong></td>
          <td align="right">{$maxmemory}</td>
        </tr>
        
        <tr>
          <td width="180"><strong>SAFE_MODE:</strong></td>
          <td align="right">{$safemode}</td>
        </tr>
        <tr>
          <td width="180"><strong>{#Start_exeT#}:</strong></td>
          <td align="right">{$max_execution_time}</td>
        </tr>
      </table>
      <strong>{#Start_deacFuncs#}:</strong><br />
      <em>{$disabledfunctions|replace:',':', '}</em>
      <br />
      <br />
      {if perm('settings') && $apache_modules}
      <br />
      <strong>{#Start_apacheMods#}</strong>
      <br />
      {foreach from=$apache_modules item=am}{$am}, {/foreach}
      {/if}
    </div>
    </td>
  </tr>
</table>
