<?php

/* FIRESHOP: Advanced Content Market System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2012 by Mohamad Porhaji                                */
/* http://Firedesign.ir                                                   */
/*                                                                      */
/* This program is free software.  */
/************************************************************************/
/* $Id: content.php,v 1.0.0.1 2012/02/18 By Mohamad Porhaji $ */

if (stristr(htmlentities($_SERVER["PHP_SELF"]), "content.php")) {
    Header("Location: index.php");
    die();
}




function themecontent() {
  global $db,$new_contact,$new_order,$new_pay;




echo"
<div class=\"main_warp\">
<table>
<tr align=\"center\">
<td width=\"270\" valign=\"top\">
<div class=\"mini_slider\">
<div class=\"mini_slider_top\">&nbsp;&nbsp;&nbsp;پنل سفارشات</div>
<div class=\"mini_slider_bg\">
<div class=\"content_mini\">
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=new_order\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; سفارشات جديد (<span style=\"color:#FF3300;font-weight: bold\">$new_order</span>)</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=order\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت سفارشات</a></div>


</div></div>
<div class=\"mini_slider_bt\"></div>
</div>
<br/>
<div class=\"mini_slider\">
<div class=\"mini_slider_top\">&nbsp;&nbsp;&nbsp;بخش مالي</div>
<div class=\"mini_slider_bg\">
<div class=\"content_mini\">
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=new_pay\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; پرداخت هاي جديد (<span style=\"color:#FF3300;font-weight: bold\">$new_pay</span>)</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=pay\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت پرداخت ها</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=add_payway\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ايجاد نحوه پرداخت</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=payway\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت نحوه پرداخت</a></div>

<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=shomarehesab\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ويرايش صفحه شماره حساب ها</a></div>



</div></div>
<div class=\"mini_slider_bt\"></div>
</div>
<br/>
<div class=\"mini_slider\">
<div class=\"mini_slider_top\">&nbsp;&nbsp;&nbsp;بخش عمومي فروشگاه</div>
<div class=\"mini_slider_bg\">
<div class=\"content_mini\">
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=send_news\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ارسال خبر جديد</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=news\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت مديريت اخبار</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=new_contact\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; تماس هاي خوانده نشده (<span style=\"color:#FF3300;font-weight: bold\">$new_contact</span>)</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=contact\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت تماس ها</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=add_static_page\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ايجاد صفحه</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=static_page\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت صفحات</a></div>



</div></div>
<div class=\"mini_slider_bt\"></div>
</div>
<br/>
<div class=\"mini_slider\">
<div class=\"mini_slider_top\">&nbsp;&nbsp;&nbsp;محصولات</div>
<div class=\"mini_slider_bg\">
<div class=\"content_mini\">
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=add_product\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ارسال محصول جديد</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=product\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت محصولات</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=cat\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت دسته بندي ها</a></div>
<div align=\"right\" class=\"news\">

<a href=\"admin.php?do=edit_buy_help\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ويرايش راهنماي خريد</a></div>
<div align=\"right\" class=\"news\">

<a href=\"admin.php?do=add_sendway\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ايجاد طريقه ارسال</a></div>
<div align=\"right\" class=\"news\"><a href=\"admin.php?do=sendway\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; مديريت طريقه ارسال</a></div>

</div></div>
<div class=\"mini_slider_bt\"></div>
</div>
<br/>
<div class=\"mini_slider\">
<div class=\"mini_slider_top\">&nbsp;&nbsp;&nbsp;تنظيمات</div>
<div class=\"mini_slider_bg\">
<div class=\"content_mini\">
<div align=\"right\" class=\"news\">

<a href=\"admin.php?do=darbare\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ويرايش صفحه درباره فروشگاه</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=ghavanin\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; ويرايش صفحه قوانين  فروشگاه</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=general\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; تنظيمات اصلي فروشگاه</a></div>
<div align=\"right\" class=\"news\">
<a href=\"admin.php?do=edit_admin\"><img src=\"template/fireshop_default/images/arrow000.gif\"/>&nbsp; تغيير مشخصات مدير</a></div>

</div></div>
<div class=\"mini_slider_bt\"></div>
</div>



</td>
<td width=\"690\" valign=\"top\">
<div class=\"slider\">
<div class=\"slider_top\">&nbsp;&nbsp;&nbsp; پنل</div>
<div class=\"slider_bg\">
<div class=\"content_slider\">\n";

ADMIN();


echo"</div></div>
<div class=\"slider_bt\"></div>

</div>



</td>
</tr>
</table>


</div>\n";



}
?>