<?php echo $header; ?><?php echo $column_left; ?>
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <button type="submit" form="form-banner" data-toggle="tooltip" title="<?php echo $button_save; ?>" class="btn btn-primary"><i class="fa fa-save"></i></button>
        <a href="<?php echo $cancel; ?>" data-toggle="tooltip" title="<?php echo $button_cancel; ?>" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1><?php echo $heading_title; ?></h1>
      <ul class="breadcrumb">
        <?php foreach ($breadcrumbs as $breadcrumb) { ?>
        <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
        <?php } ?>
      </ul>
    </div>
  </div>
  <div class="container-fluid">
    <?php if ($error_warning) { ?>
    <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $error_warning; ?>
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    <?php } ?>
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-pencil"></i> <?php echo $text_edit; ?></h3>
      </div>
      <div class="panel-body">
        <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form-banner-text-ad" class="form-horizontal">
		<div class="alert alert-info"><i class="fa fa-info-circle"></i> <?php echo $text_cwkj_wxts; ?></div> 
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-status"><?php echo $entry_status; ?></label>
            <div class="col-sm-10">
              <select name="status" id="input-status" class="form-control">
                <?php if ($status) { ?>
                <option value="1" selected="selected"><?php echo $text_enabled; ?></option>
                <option value="0"><?php echo $text_disabled; ?></option>
                <?php } else { ?>
                <option value="1"><?php echo $text_enabled; ?></option>
                <option value="0" selected="selected"><?php echo $text_disabled; ?></option>
                <?php } ?>
              </select>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-name"><?php echo $entry_name; ?></label>
            <div class="col-sm-10">
              <input type="text" name="name" value="<?php echo $name; ?>" placeholder="<?php echo $entry_name; ?>" id="input-name" class="form-control" />
              <?php if ($error_name) { ?>
              <div class="text-danger"><?php echo $error_name; ?></div>
              <?php } ?>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-key"><span data-toggle="tooltip" title="<?php echo $help_key; ?>"><?php echo $entry_key; ?></span></label>
            <div class="col-sm-10">
              <input type="text" name="key" value="<?php echo $key; ?>" placeholder="<?php echo $entry_key; ?>" id="input-key" class="form-control" />
              <?php if ($error_key) { ?>
              <div class="text-danger"><?php echo $error_key; ?></div>
              <?php } ?>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-coordinate"><span data-toggle="tooltip" title="<?php echo $help_coordinate; ?>"><?php echo $entry_coordinate; ?></span></label>
            <div class="col-sm-10">
              <input type="text" name="coordinate" value="<?php echo $coordinate; ?>" placeholder="<?php echo $entry_coordinate; ?>" id="input-coordinate" class="form-control" />
              <?php if ($error_coordinate) { ?>
              <div class="text-danger"><?php echo $error_coordinate; ?></div>
              <?php } ?>
            </div>
          </div>                              
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-cname"><?php echo $entry_cname; ?></label>
            <div class="col-sm-10">
              <input type="text" name="cname" value="<?php echo $cname; ?>" placeholder="<?php echo $entry_cname; ?>" id="input-cname" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-cdescribe"><?php echo $entry_cdescribe; ?></label>
            <div class="col-sm-10">
              <textarea name="cdescribe" rows="2" placeholder="<?php echo $entry_cdescribe; ?>" id="input-cdescribe" class="form-control" /><?php echo $cdescribe; ?></textarea>
            </div>
          </div>             
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-cadress"><?php echo $entry_cadress; ?></label>
            <div class="col-sm-10">
              <input type="text" name="cadress" value="<?php echo $cadress; ?>" placeholder="<?php echo $entry_cadress; ?>" id="input-cadress" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-telephone"><?php echo $entry_telephone; ?></label>
            <div class="col-sm-10">
              <input type="text" name="telephone" value="<?php echo $telephone; ?>" placeholder="<?php echo $entry_telephone; ?>" id="input-telephone" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-qq"><?php echo $entry_qq; ?></label>
            <div class="col-sm-10">
              <input type="text" name="qq" value="<?php echo $qq; ?>" placeholder="<?php echo $entry_qq; ?>" id="input-qq" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-emall"><?php echo $entry_emall; ?></label>
            <div class="col-sm-10">
              <input type="text" name="emall" value="<?php echo $emall; ?>" placeholder="<?php echo $entry_emall; ?>" id="input-emall" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-weibo"><?php echo $entry_weibo; ?></label>
            <div class="col-sm-10">
              <input type="text" name="weibo" value="<?php echo $weibo; ?>" placeholder="<?php echo $entry_weibo; ?>" id="input-weibo" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-weblink"><?php echo $entry_weblink; ?></label>
            <div class="col-sm-10">
              <input type="text" name="weblink" value="<?php echo $weblink; ?>" placeholder="<?php echo $entry_weblink; ?>" id="input-weblink" class="form-control" />
            </div>
          </div>
          <div class="form-group required">
             <label class="col-sm-2 control-label" for="input-wgdlg1"><span data-toggle="tooltip" title="<?php echo $help_wgdlg; ?>"><?php echo $entry_wgdlg; ?></span></label>
             <div class="col-sm-10">
			 <div class="row">
			 <div class="col-sm-6">
               <input type="text" name="wgdlg1" value="<?php echo $wgdlg1; ?>" placeholder="<?php echo $entry_wgdlg1; ?>" id="input-wgdlg1" class="form-control" />
              <?php if ($error_wgdlg1) { ?>
              <div class="text-danger"><?php echo $error_wgdlg1; ?></div>
              <?php } ?>
			  </div>
             <div class="col-sm-6">
               <input type="text" name="wgdlg2" value="<?php echo $wgdlg2; ?>" placeholder="<?php echo $entry_wgdlg2; ?>" id="input-wgdlg2" class="form-control" />
              <?php if ($error_wgdlg2) { ?>
              <div class="text-danger"><?php echo $error_wgdlg2; ?></div>
              <?php } ?>
			 </div>
			  </div>
			  </div>
           </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-section"><?php echo $entry_section; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="sectionbj" value="<?php echo $sectionbj; ?>"  placeholder="<?php echo $entry_sectionbj; ?>" id="input-sectionbj" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="sectionjbbj" value="<?php echo $sectionjbbj; ?>"  placeholder="<?php echo $entry_sectionjbbj; ?>" id="input-sectionjbbj" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="sectiontitle" value="<?php echo $sectiontitle; ?>"  placeholder="<?php echo $entry_sectiontitle; ?>" id="input-sectiontitle" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="sectiondescribe" value="<?php echo $sectiondescribe; ?>"  placeholder="<?php echo $entry_sectiondescribe; ?>" id="input-sectiondescribe" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="sectionptop" value="<?php echo $sectionptop; ?>"  placeholder="<?php echo $entry_sectionptop; ?>" id="input-sectionptop" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="sectionpbuttom" value="<?php echo $sectionpbuttom; ?>"  placeholder="<?php echo $entry_sectionpbuttom; ?>" id="input-sectionpbuttom" class="form-control"  />
              </div>
            </div>
			</div>
          </div> 
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-bgcolor"><?php echo $entry_iconstyle; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="miconbj" value="<?php echo $miconbj; ?>"  placeholder="<?php echo $entry_miconbj; ?>" id="input-miconbj" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconcolorc" value="<?php echo $miconcolorc; ?>"  placeholder="<?php echo $entry_miconcolorc; ?>" id="input-miconcolorc" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconcolor" value="<?php echo $miconcolor; ?>"  placeholder="<?php echo $entry_miconcolor; ?>" id="input-miconcolor" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="hoverbj" value="<?php echo $hoverbj; ?>"  placeholder="<?php echo $entry_hoverbj; ?>" id="input-hoverbj" class="form-control"  />
              </div>	
            <div class="col-sm-2">
              <input type="text" name="hovertit" value="<?php echo $hovertit; ?>"  placeholder="<?php echo $entry_hovertit; ?>" id="input-hovertit" class="form-control"  />
              </div>				  
            <div class="col-sm-2">
              <input type="text" name="miconround" value="<?php echo $miconround; ?>"  placeholder="<?php echo $entry_miconround; ?>" id="input-miconround" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconsize" value="<?php echo $miconsize; ?>"  placeholder="<?php echo $entry_miconsize; ?>" id="input-miconsize" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconborder" value="<?php echo $miconborder; ?>"  placeholder="<?php echo $entry_miconborder; ?>" id="input-miconborder" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconbc" value="<?php echo $miconbc; ?>"  placeholder="<?php echo $entry_miconbc; ?>" id="input-miconbc" class="color {required:false,hash:true} form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconwidth" value="<?php echo $miconwidth; ?>"  placeholder="<?php echo $entry_miconwidth; ?>" id="input-miconwidth" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="miconheight" value="<?php echo $miconheight; ?>"  placeholder="<?php echo $entry_miconheight; ?>" id="input-miconheight" class="form-control"  />
              </div>			  
            </div>
			</div>
          </div> 		  
        </form>
      </div>
    </div>
  </div>
</div>
 <script type="text/javascript" src="view/javascript/jscolor/jscolor.js"></script>
<?php echo $footer; ?>
