Location: PHPKode > projects > Caleb's Code > Cafe_Cart/admin/case/case.cafepress.php
<?php

if (!eregi('admin.php', $PHP_SELF)) die ('Access Denied: case.lan_signup');

switch($op) 
{
    case 'admin_show_'.$ModName:
        include "modules/$ModName/public/settings.php";
        include "modules/$ModName/admin/modules/cp_menu.php";
        $hlpfile = $cpconfig[hlpdir]."show_stores.html";
        include "modules/$ModName/admin/modules/show_stores.php";
    break;
    case 'add_product_'.$ModName:
        include "modules/$ModName/public/settings.php";
        include "modules/$ModName/admin/modules/cp_menu.php";
        $hlpfile = $cpconfig[hlpdir]."add_product.html";
        include "modules/$ModName/admin/modules/add_product.php";
    break;
    case 'view_product_'.$ModName:
        include "modules/$ModName/public/settings.php";
        include "modules/$ModName/admin/modules/cp_menu.php";
        $hlpfile = $cpconfig[hlpdir]."view_product.html";
        include "modules/$ModName/admin/modules/view_product.php";
    break;
    case 'add_seasonal_'.$ModName:
        include "modules/$ModName/public/settings.php";
        include "modules/$ModName/admin/modules/cp_menu.php";
        $hlpfile = $cpconfig[hlpdir]."add_product.html";
        include "modules/$ModName/admin/modules/add_seasonal.php";
    break;
    case 'add_store_'.$ModName:
        include "modules/$ModName/public/settings.php";
        include "modules/$ModName/admin/modules/cp_menu.php";
        $hlpfile = $cpconfig[hlpdir]."add_store.html";
        include "modules/$ModName/admin/modules/add_store.php";
    break;
    case 'install_'.$ModName:
        include "modules/$ModName/install/install.php";
    break;
}

?>
Return current item: Caleb's Code