Skip to content

Instantly share code, notes, and snippets.

@sharikovvladislav
Created June 15, 2014 16:40
Show Gist options
  • Save sharikovvladislav/73be7eabfc0fb32cf1c8 to your computer and use it in GitHub Desktop.
Save sharikovvladislav/73be7eabfc0fb32cf1c8 to your computer and use it in GitHub Desktop.
<?
$breadcrumbs->add(new Breadcrumb("/clients/orders", "Заказы"));
$subaction = isset($_GET['subaction']) ? $_GET['subaction'] : null;
switch($subaction):
default:
$MAIN_OUTPUT .= "<h3>Стандартная страница раздела Клиенты -> Заказы</h3>";
break;
case "add":
$breadcrumbs->add(new Breadcrumb("/client/orders/add", "Добавление"));
$MAIN_OUTPUT .= "<h3>Клиенты -> Заказы -> Добавление заказа</h3>";
break;
endswitch;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment