<?php
  /**
   * Index
   *
   * @package Digital Downloads Pro
   * @author wojoscripts.com
   * @copyright 2010
   * @version $Id: index.php, v2.00 2011-07-10 10:12:05 gewa Exp $
   */
  define("_VALID_PHP", true);
  require_once("../init.php");

  if (is_dir("../setup"))
      : die("<div style='text-align:center'>" 
		  . "<span style='padding: 5px; border: 1px solid #acd8f0; border-radius: 5px; background-color:#ebf4fb;" 
		  . "font-family: tahoma; font-size: 12px; color:#888; text-align:; margin-left:auto; margin-right:auto'>" 
		  . "<b> : اخـطار </b> لـطفـا پوشـه setup را حذف نمائيـد </span></div>");
  endif;
  
  if (!$user->is_Admin())
      redirect_to("login.php");
?>
<?php include("header.php");?>
<!-- Start Content-->
<div id="content-wrap">
  <div id="content"><span id="loader" style="display:none"></span>
    <div id="msgholder"></div>
    <?php ($core->do && file_exists($core->do.".php")) ? include($core->do.".php") : include("main.php");?>
  </div>
</div>
<!-- End Content/-->
<?php include("footer.php");?>