<?php $a1_class='main';$a1_title='MENU_INDEX_PROJECTMENU'; ?><?php
if (!defined('OR_VERSION')) die('Forbidden');
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" >
<?php if ( isset($refresh_url) ) { ?>
<meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>">
<?php } ?>
<meta name="MSSmartTagsPreventParsing" content="true" >
<meta name="robots" content="noindex,nofollow" >
<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
{
?>
<link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" >
<?php
}
?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
{
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php
}
?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" >
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" >
<?php } ?>
</head>
<body class="main" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class,$a1_title) ?><?php $a2_title='GLOBAL_PROJECTS';$a2_name='login';$a2_icon='project';$a2_width='600';$a2_rowclasses='odd,even';$a2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
$icon=$a2_icon;
$row_classes = explode(',',$a2_rowclasses);
$row_class_idx = 999;
$column_classes = explode(',',$a2_columnclasses);
$row_idx = 0;
$column_idx = 0;
global $image_dir;
if (@$conf['interface']['application_mode'] )
{
echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
}
else
{
echo '<br/><br/><br/><center>';
echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$a2_width.'">';
}
if (!@$conf['interface']['application_mode'] )
{
echo '<tr class="title"><td>';
echo '<img src="'.$image_dir.'icon_'.$icon.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php }
elseif (readonly()) {
?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml($actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
{
extract($pathElement);
echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
echo ' » ';
}
echo '<span class="title">'.langHtml($windowTitle).'</span>';
if ( isset($notice_status))
{
?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php
}
?>
</td>
<?php
}
?>
<?php ?> <!--<td class="menu" style="align:right;">
<?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
{
?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
}
?>
</td>-->
</tr>
<tr class="menu"><td>
<table class="menu"><tr>
<?php if ( !isset($windowMenu) || !is_array($windowMenu) )
$windowMenu = array();
foreach( $windowMenu as $menu )
{
$tmp_text = langHtml($menu['text']);
$tmp_key = strtoupper(langHtml($menu['key' ]));
$tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
if ( $tmp_pos !== false )
$tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
if ( isset($menu['url']) )
{
?><td class="action"><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a></td><?php
}
else
{
?><td class="noaction"><?php echo $tmp_text ?></td><?php
}
}
if (@$conf['help']['enabled'] )
{
?><td><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a></td><?php
}
?>
</tr></table></td>
</tr>
<?php if (isset($notices) && count($notices)>0 )
{ ?>
<tr>
<td align="center" class="notice">
<?php foreach( $notices as $notice_idx=>$notice ) { ?>
<br><table class="notice">
<?php if ($notice['name']!='') { ?>
<tr>
<th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
</th>
</tr>
<?php } ?>
<tr class="<?php echo $notice['status'] ?>">
<td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td>
<td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
<?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
</td>
</tr>
</table>
<?php } ?>
</td>
</tr>
<tr>
<td colspan="2"><fieldset></fieldset></td>
</tr>
<?php } ?>
<tr>
<td class="window">
<table cellspacing="0" width="100%" cellpadding="4">
<?php unset($a2_title,$a2_name,$a2_icon,$a2_width,$a2_rowclasses,$a2_columnclasses) ?><?php
$row_idx++;
$column_idx = 0;
?>
<tr
>
<?php $a4_class='logo';$a4_colspan='2'; ?><?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
class="logo"
colspan="2"
><?php unset($a4_class,$a4_colspan) ?><?php $a5_name='projectmenu'; ?><img src="<?php echo $image_dir.'logo_'.$a5_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$a5_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$a5_name.'_text') ?></p><?php unset($a5_name) ?></td></tr><?php $a3_list='projects';$a3_extract=true;$a3_key='list_key';$a3_value='list_value'; ?><?php
$a3_list_tmp_key = $a3_key;
$a3_list_tmp_value = $a3_value;
$a3_list_extract = $a3_extract;
unset($a3_key);
unset($a3_value);
if ( !isset($$a3_list) || !is_array($$a3_list) )
$$a3_list = array();
foreach( $$a3_list as $$a3_list_tmp_key => $$a3_list_tmp_value )
{
if ( $a3_list_extract )
{
if ( !is_array($$a3_list_tmp_value) )
{
print_r($$a3_list_tmp_value);
die( 'not an array at key: '.$$a3_list_tmp_key );
}
extract($$a3_list_tmp_value);
}
?><?php unset($a3_list,$a3_extract,$a3_key,$a3_value) ?><?php
$row_idx++;
$column_idx = 0;
?>
<tr
>
<?php $a5_colspan='3'; ?><?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
colspan="3"
><?php unset($a5_colspan) ?><?php $a6_title=$name; ?><fieldset><?php if(isset($a6_title)) { ?><legend><?php if(isset($a6_icon)) { ?><image src="<?php echo $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT ?>" align="left" border="0"><?php } ?><?php echo encodeHtml($a6_title) ?></legend><?php } ?><?php unset($a6_title) ?></fieldset></td></tr><?php
$row_idx++;
$column_idx = 0;
?>
<tr
>
<?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
><?php $a6_title=lang('TREE_CHOOSE_PROJECT');$a6_target='_self';$a6_url=$url;$a6_class=''; ?><?php
$params = array();
$tmp_url = '';
$tmp_url = $a6_url;
?><a<?php if (isset($a6_name)) echo ' name="'.$a6_name.'"'; else echo ' href="'.$tmp_url.(isset($a6_anchor)?'#'.$a6_anchor:'').'"' ?> class="<?php echo $a6_class ?>" target="<?php echo $a6_target ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_target,$a6_url,$a6_class) ?><?php $a7_var='project';$a7_value='project'; ?><?php
if (isset($a7_key))
$$a7_var = $a7_value[$a7_key];
else
$$a7_var = $a7_value;
?><?php unset($a7_var,$a7_value) ?><?php $a7_align='left';$a7_type='project'; ?><?php
$a7_tmp_image_file = $image_dir.'icon_'.$a7_type.IMG_ICON_EXT;
$a7_size = '16x16';
$a7_tmp_title = basename($a7_tmp_image_file);
?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_align,$a7_type) ?><?php $a7_class='text';$a7_var='name';$a7_maxlength='30';$a7_escape=true;$a7_cut='both'; ?><?php
$a7_title = '';
$tmp_tag = 'span';
?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php
$langF = $a7_escape?'langHtml':'lang';
$tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN');
$tmp_text = Text::maxLength( $tmp_text,intval($a7_maxlength),'..',constant('STR_PAD_'.strtoupper($a7_cut)) );
$tmp_text = nl2br($tmp_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_maxlength,$a7_escape,$a7_cut) ?></a></td><?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
><?php $a6_action='index';$a6_subaction='project';$a6_id=$id;$a6_name='';$a6_target='_self';$a6_method='post';$a6_enctype='application/x-www-form-urlencoded'; ?><?php
if ($this->isEditable())
{
if ($this->isEditMode())
{
$a6_method = 'POST';
}
else
{
$a6_method = 'GET';
$a6_subaction = $subActionName;
}
}
?><form name="<?php echo $a6_name ?>"
target="<?php echo $a6_target ?>"
action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>"
method="<?php echo $a6_method ?>"
enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;">
<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php
if ( $conf['interface']['url_sessionid'] )
echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
?><?php unset($a6_action,$a6_subaction,$a6_id,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_width='100%';$a7_space='0px';$a7_padding='0px';$a7_widths='150px,150px'; ?><?php
$last_row_idx = @$row_idx;
$last_column_idx = @$column_idx;
$row_idx = 0;
$column_idx = 0;
$coloumn_widths = array();
$row_classes = array();
$column_classes = array();
$column_widths = explode(',',$a7_widths);
?><table class="%class%" cellspacing="0px" width="100%" cellpadding="0px">
<?php unset($a7_width,$a7_space,$a7_padding,$a7_widths) ?><?php
$row_idx++;
$column_idx = 0;
?>
<tr
>
<?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
><?php $a10_list='models';$a10_name='modelid';$a10_default=$defaultmodelid;$a10_onchange='';$a10_title='';$a10_class=''; ?><?php $a10_tmp_list = $$a10_list;
if ( isset($$a10_name) && isset($a10_tmp_list[$$a10_name]) )
$a10_tmp_default = $$a10_name;
elseif ( isset($a10_default) )
$a10_tmp_default = $a10_default;
else
$a10_tmp_default = '';
foreach( $a10_tmp_list as $box_key=>$box_value )
{
$box_value = is_array($box_value)?(isset($box_value['lang'])?langHtml($box_value['lang']):$box_value['value']):$box_value;
$id = 'id_'.$a10_name.'_'.$box_key;
echo '<input id="'.$id.'" name="'.$a10_name.'" type="radio" class="'.$a10_class.'" value="'.$box_key.'"';
if ($box_key==$a10_tmp_default)
echo ' checked="checked"';
echo '> <label for="'.$id.'">'.$box_value.'</label><br>';
}
?><?php unset($a10_list,$a10_name,$a10_default,$a10_onchange,$a10_title,$a10_class) ?></td><?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
><?php $a10_list='languages';$a10_name='languageid';$a10_default=$defaultlanguageid;$a10_onchange='';$a10_title='';$a10_class=''; ?><?php $a10_tmp_list = $$a10_list;
if ( isset($$a10_name) && isset($a10_tmp_list[$$a10_name]) )
$a10_tmp_default = $$a10_name;
elseif ( isset($a10_default) )
$a10_tmp_default = $a10_default;
else
$a10_tmp_default = '';
foreach( $a10_tmp_list as $box_key=>$box_value )
{
$box_value = is_array($box_value)?(isset($box_value['lang'])?langHtml($box_value['lang']):$box_value['value']):$box_value;
$id = 'id_'.$a10_name.'_'.$box_key;
echo '<input id="'.$id.'" name="'.$a10_name.'" type="radio" class="'.$a10_class.'" value="'.$box_key.'"';
if ($box_key==$a10_tmp_default)
echo ' checked="checked"';
echo '> <label for="'.$id.'">'.$box_value.'</label><br>';
}
?><?php unset($a10_list,$a10_name,$a10_default,$a10_onchange,$a10_title,$a10_class) ?></td><?php $column_idx++; ?><td
<?php if (!empty($column_widths)) { ?>
width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>"
<?php } ?>
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
><?php $a10_type='ok';$a10_class='ok';$a10_value='ok';$a10_text=lang('start'); ?><?php
if ($this->isEditable() && !$this->isEditMode())
$a10_text = 'MODE_EDIT';
$a10_type = 'submit';
if ( $this->isEditable() && readonly() )
$a10_type = ''; // Knopf nicht anzeigen
$a10_src = '';
if ( !empty($a10_type) ) {
?><input type="<?php echo $a10_type ?>"<?php if(isset($a10_src)) { ?> src="<?php echo $image_dir.'icon_'.$a10_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a10_value ?>" class="ok" title="<?php echo lang($a10_text.'_DESC') ?>" value=" <?php echo langHtml($a10_text) ?> " /><?php unset($a10_src)
?><?php }
?><?php unset($a10_type,$a10_class,$a10_value,$a10_text) ?></td></tr><?php
$row_idx = $last_row_idx;
$column_idx = $last_column_idx;
?>
</table></form>
</td></tr><?php } ?> </table>
</td>
</tr>
</table>
</center>
<?php if ($showDuration)
{ ?>
<br/>
<center><small>
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
</body>
</html>