26 lines
697 B
PHP
26 lines
697 B
PHP
|
|
<?php
|
||
|
|
/* $Id: home.php 8 2009-01-11 06:02:53Z john $ */
|
||
|
|
include "header-ajax.php";
|
||
|
|
$page = 'activities1';
|
||
|
|
|
||
|
|
if($_GET["show"]=="")
|
||
|
|
{
|
||
|
|
$actions_array = $actions->actions_display(0, $setting['setting_actions_actionsperuser']);
|
||
|
|
$smarty->assign_by_ref('show', $_GET["show"]);
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
if($_GET["show"]==1){$_GET["show"]=0;}
|
||
|
|
$actions_array = $actions->actions_display($_GET["show"], $setting['setting_actions_actionsperuser']);
|
||
|
|
$smarty->assign_by_ref('show', $_GET["show"]);
|
||
|
|
}
|
||
|
|
$smarty->assign_by_ref('actions', $actions_array);
|
||
|
|
|
||
|
|
// CREATE ARRAY OF ACTION TYPES
|
||
|
|
$actiontypes_array = $actions->actions_allowed();
|
||
|
|
$smarty->assign_by_ref('actiontypes', $actiontypes_array);
|
||
|
|
|
||
|
|
|
||
|
|
include "footer-ajax.php";
|
||
|
|
?>
|