<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$title?></title>
<script type="text/javascript" src="<?=BASEURL?>public/admin/joolma/js/joomla.javascript.js"></script>
<script type="text/javascript" src="<?=BASEURL?>public/admin/joolma/js/mootools.js"></script>
<link rel="stylesheet" href="<?=BASEURI?>public/admin/joolma/css/system.css" type="text/css" />
<link href="<?=BASEURL?>public/admin/joolma/css/template.css" rel="stylesheet" type="text/css" />
<link href="<?=BASEURL?>public/admin/joolma/css/modal.css" rel="stylesheet" type="text/css" />
<!--[if IE 7]>
<link href="<?=BASEURL?>public/admin/joolma/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lte IE 6]>
<link href="<?=BASEURL?>public/admin/joolma/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="<?=BASEURI?>public/admin/joolma/css/rounded.css" />
<script type="text/javascript" src="<?=BASEURL?>public/admin/joolma/js/modal.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });
window.addEvent('domready', function() {
	SqueezeBox.initialize({});
	$$('a.modal').each(function(el) {
		el.addEvent('click', function(e) {
			new Event(e).stop();
			SqueezeBox.fromElement(el);
		});
	});
});
</script>
</head>
<body>
<?php require_once("application/views/".$tpl_path."_cfg.php");		//工具栏				?>
<?php if(isset($clent_validata)){?>
<script type="text/javascript" src="<?=BASEURL?>public/share/js/Validator.js"></script>
<?php }?>
<div class="border">
    <div class="padding">
      <div id="toolbar-box">
        <div class="t">
          <div class="t">
            <div class="t"></div>
          </div>
        </div>
        <div class="m">
          <div class="toolbar" id="toolbar">
            <table class="toolbar">
              <tr>
                <?php foreach($toolbar_cfg as $value){?>
                <td><a <?php if($value['herf']!=''){?>href="<?=$value['herf']?>" <?php }?> onclick="<?=$value['click']?>" class="toolbar"> <span class="icon-32-<?=$value['class_icon'];?>" title="<?=$this->lang->line($value['toolbar_name']);?>"></span>
                  <?=$value['toolbar_name'];?>
                  </a> </td>
                <?php }?>
                <td><a href="<?=$cancel_url?>" onclick="" class="toolbar"> <span class="icon-32-cancel" title="<?=$this->lang->line("cancel");?>"></span>
                  <?=$this->lang->line("cancel");?>
                  </a> </td>
              </tr>
            </table>
          </div>
          <div class="header icon-48-<?=$header_class?>">
            <?=$title?>
          </div>
          <div class="clr"></div>
        </div>
        <div class="b">
          <div class="b">
            <div class="b"></div>
          </div>
        </div>
      </div>
      <?php if(isset($report_msg)){?>
      <DL id=system-message>
        <DD class="message <?php if(isset($msg_type)){echo $msg_type;}else{echo "message";}?> fade">
          <UL  style="margin:0px;">
            <LI>
              <?=$report_msg; ?>
            </LI>
          </UL>
        </DD>
      </DL>
      <?php }?>
      <div class="clr"></div>
      <div id="element-box" style="width:20%;float:left;">
        <div class="t">
          <div class="t">
            <div class="t"></div>
          </div>
        </div>
        <div class="m url_sort">
          <ul>
			<?php $this->load->view($page_sort);?>
          </ul>
          <div class="clr"></div>
        </div>
        <div class="b">
          <div class="b">
            <div class="b"></div>
          </div>
        </div>
      </div>
      <div id="element-box" style="width:79%;float:left; display:inline;margin-left:10px;">
        <div class="t">
          <div class="t">
            <div class="t"></div>
          </div>
        </div>
        <div class="m">
          <form action="<?=BASEURI?><?=$form_action?>" method="post" name="adminForm" id="adminForm">
            <div id='right_contents'>
              <?php $this->load->view($tpl_path);?>
            </div>
            <input type="hidden" name="boxchecked" value="0" />

          </form>
          <div class="clr"></div>
        </div>
        <div class="b">
          <div class="b">
            <div class="b"></div>
          </div>
        </div>
      </div>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
  </div>
</body></html>