<?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-service" 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-service" class="form-horizontal">
<div class="alert alert-danger"><i class="fa fa-info-circle"></i> <?php echo $text_qq_open_signup; ?><button type="button" class="close" data-dismiss="alert">&times;</button></div>
          <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-sectionid"><span data-toggle="tooltip" title="" data-original-title="仅限数字，且任意模块值为唯一"><?php echo $entry_sectionid; ?></span></label>
            <div class="col-sm-10">
              <input type="text" name="sectionid" value="<?php echo $sectionid; ?>" placeholder="<?php echo $entry_sectionid; ?>" id="input-sectionid" class="form-control" />
              <?php if ($error_sectionid) { ?>
              <div class="text-danger"><?php echo $error_sectionid; ?></div>
              <?php } ?>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-sectiontab"><span data-toggle="tooltip" title="" data-original-title="适用于单页，和导航模块组合使用，如此处设置为about，导航中需设置为#about"><?php echo $entry_sectiontab; ?></span></label>
            <div class="col-sm-10">
              <input type="text" name="sectiontab" value="<?php echo $sectiontab; ?>" placeholder="<?php echo $entry_sectiontab; ?>" id="input-sectiontab" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-duotuwenname"><?php echo $entry_duotuwenname; ?></label>
            <div class="col-sm-10">
              <input type="text" name="duotuwenname" value="<?php echo $duotuwenname; ?>" placeholder="<?php echo $entry_duotuwenname; ?>" id="input-duotuwenname" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-segmentingline"><?php echo $entry_segmentingline; ?></label>
            <div class="col-sm-10">
			<div class="row">
			<div class="col-sm-4">
              <input type="text" name="duotuwenlinew" value="<?php echo $duotuwenlinew; ?>" placeholder="<?php echo $entry_duotuwenlinew; ?>" id="input-duotuwenlinew" class="form-control" />
            </div>
			<div class="col-sm-4">
              <input type="text" name="duotuwenlineh" value="<?php echo $duotuwenlineh; ?>" placeholder="<?php echo $entry_duotuwenlineh; ?>" id="input-duotuwenlineh" class="form-control" />
            </div>
			<div class="col-sm-4">
			<div id="cp13" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="duotuwenlinec" value="<?php echo $duotuwenlinec; ?>" placeholder="<?php echo $entry_duotuwenlinec; ?>" id="input-duotuwenlinec" class="color form-control" />
              <span class="input-group-addon"><i></i></span>
			</div>
			</div>
			</div>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-describe"><?php echo $entry_describe; ?></label>
            <div class="col-sm-10">
              <textarea name="describe" placeholder="<?php echo $entry_describe; ?>" id="input-describe" class="form-control" /><?php echo $describe; ?></textarea>
              <?php if ($error_describe) { ?>
              <div class="text-danger"><?php echo $error_describe; ?></div>
              <?php } ?>
            </div>
          </div> 
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-image"><?php echo $entry_imagebj; ?></label>
            <div class="col-sm-10">
              <a href="" id="thumb-image" data-toggle="image" class="img-thumbnail"><img src="<?php echo $thumb; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
              <input type="hidden" name="image" value="<?php echo $image; ?>" id="input-image" />
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-width"><?php echo $entry_width; ?></label>
            <div class="col-sm-10">
              <input type="text" name="width" value="<?php echo $width; ?>" placeholder="<?php echo $entry_width; ?>" id="input-width" class="form-control" />
              <?php if ($error_width) { ?>
              <div class="text-danger"><?php echo $error_width; ?></div>
              <?php } ?>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-height"><?php echo $entry_height; ?></label>
            <div class="col-sm-10">
              <input type="text" name="height" value="<?php echo $height; ?>" placeholder="<?php echo $entry_height; ?>" id="input-height" class="form-control" />
              <?php if ($error_height) { ?>
              <div class="text-danger"><?php echo $error_height; ?></div>
              <?php } ?>
            </div>
          </div>
		  <div class="form-group">
            <label class="col-sm-2 control-label" for="input-main"><?php echo $entry_main; ?></label>
            <div class="col-sm-10">
              <select name="main" id="input-main" class="form-control">
				<?php if ($main == 'container') { ?>
                <option value="container" selected="selected"><?php echo $text_mainc; ?></option>
				<?php } else { ?>
                <option value="container"><?php echo $text_mainc; ?></option>
				<?php } ?>
				<?php if ($main == 'fullwidth') { ?>
                <option value="fullwidth" selected="selected"><?php echo $text_mainfw; ?></option>
				<?php } else { ?>
				<option value="fullwidth"><?php echo $text_mainfw; ?></option>
                <?php } ?>
              </select>
            </div>
          </div>
		  <div class="form-group">
            <label class="col-sm-2 control-label" for="input-autoplay"><?php echo $entry_autoplay; ?></label>
            <div class="col-sm-10">
              <select name="autoplay" id="input-autoplay" class="form-control">
                <?php if ($autoplay) { ?>
                <option value="1" selected="selected"><?php echo $text_yes; ?></option>
                <option value="0"><?php echo $text_no; ?></option>
                <?php } else { ?>
                <option value="1"><?php echo $text_yes; ?></option>
                <option value="0" selected="selected"><?php echo $text_no; ?></option>
                <?php } ?>
              </select>
            </div>
          </div>
		  <div class="form-group">
            <label class="col-sm-2 control-label" for="input-fade"><?php echo $entry_fade; ?></label>
            <div class="col-sm-10">
              <select name="fade" id="input-fade" class="form-control">
                <?php if ($fade) { ?>
                <option value="1" selected="selected"><?php echo $text_yes; ?></option>
                <option value="0"><?php echo $text_no; ?></option>
                <?php } else { ?>
                <option value="1"><?php echo $text_yes; ?></option>
                <option value="0" selected="selected"><?php echo $text_no; ?></option>
                <?php } ?>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-speed"><?php echo $entry_speed; ?></label>
            <div class="col-sm-10">
              <input type="text" name="speed" value="<?php echo $speed; ?>" placeholder="<?php echo $entry_speed; ?>" id="input-speed" class="form-control" />
            </div>
          </div> 
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-column"><span data-toggle="tooltip" title="<?php echo $help_column; ?>"><?php echo $entry_columns; ?></span></label>
            <div class="col-sm-10">
			<div class="row">
			<div class="col-sm-4">
              <input type="text" name="rows" value="<?php echo $rows; ?>"  placeholder="<?php echo $entry_rows; ?>" id="input-rows" class="form-control"  />
			  </div>
			<div class="col-sm-4">
              <input type="text" name="column" value="<?php echo $column; ?>" placeholder="<?php echo $entry_column; ?>" id="input-column" class="form-control" />
			</div>
	            <div class="col-sm-4">
              <input type="text" name="scroll" value="<?php echo $scroll; ?>" placeholder="<?php echo $entry_scroll; ?>" id="input-scroll" class="form-control" />
            </div>
			</div>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-wapcolumn"><span data-toggle="tooltip" title="<?php echo $help_wapcolumn; ?>"><?php echo $entry_wapcolumns; ?></span></label>
			<div class="col-sm-10">
              <input type="text" name="wapcolumn" value="<?php echo $wapcolumn; ?>" placeholder="<?php echo $entry_wapcolumn; ?>" id="input-wapcolumn" class="form-control" />
			</div>
          </div>	  
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-bgcolor"><?php echo $entry_bgcolortitle; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-3">
			<div id="cp2" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="bgcolor" value="<?php echo $bgcolor; ?>"  placeholder="<?php echo $entry_bgcolor; ?>" id="input-bgcolor" class="color form-control"  />
               <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp3" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="bgcolorcss" value="<?php echo $bgcolorcss; ?>"  placeholder="<?php echo $entry_bgcolorcss; ?>" id="input-bgcolorcss" class="color form-control"  />
               <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="sectionnum" value="<?php echo $sectionnum; ?>"  placeholder="<?php echo $entry_sectionnum; ?>" id="input-sectionnum" class="form-control"  />
              <?php if ($error_sectionnum) { ?>
              <div class="text-danger"><?php echo $error_sectionnum; ?></div>
              <?php } ?>
			  </div>
            <div class="col-sm-3">
			<div id="cp4" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="titlecss" value="<?php echo $titlecss; ?>"  placeholder="<?php echo $entry_titlecss; ?>" id="input-titlecss" class="color form-control"  />
               <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp6" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxtitlecss" value="<?php echo $boxtitlecss; ?>"  placeholder="<?php echo $entry_boxtitlecss; ?>" id="input-boxtitlecss" class="color form-control"  />
               <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="ptduotuwen" value="<?php echo $ptduotuwen; ?>"  placeholder="<?php echo $entry_ptduotuwen; ?>" id="input-ptduotuwen" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="pbduotuwen" value="<?php echo $pbduotuwen; ?>"  placeholder="<?php echo $entry_pbduotuwen; ?>" id="input-pbduotuwen" class="form-control"  />
              </div>
              </div>
            </div>
          </div> 
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-box"><?php echo $entry_box; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-3">
			<div id="cp5" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxbg" value="<?php echo $boxbg; ?>"  placeholder="<?php echo $entry_boxbg; ?>" id="input-boxbg" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="boxnum" value="<?php echo $boxnum; ?>"  placeholder="<?php echo $entry_boxnum; ?>" id="input-boxnum" class="form-control"  />
              <?php if ($error_boxnum) { ?>
              <div class="text-danger"><?php echo $error_boxnum; ?></div>
              <?php } ?>
			  </div>
            <div class="col-sm-3">
			<div id="cp7" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxtitle" value="<?php echo $boxtitle; ?>"  placeholder="<?php echo $entry_boxtitle ?>" id="input-boxtitle" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp8" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxzhiwei" value="<?php echo $boxzhiwei; ?>"  placeholder="<?php echo $entry_boxzhiwei ?>" id="input-boxzhiwei" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp9" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxdescribe" value="<?php echo $boxdescribe; ?>"  placeholder="<?php echo $entry_boxdescribe; ?>" id="input-boxdescribe" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="boxmagin" value="<?php echo $boxmagin; ?>"  placeholder="<?php echo $entry_boxmagin; ?>" id="input-boxmagin" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="boxpd" value="<?php echo $boxpd; ?>"  placeholder="<?php echo $entry_boxpd; ?>" id="input-boxpd" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="boxwzbj" value="<?php echo $boxwzbj; ?>"  placeholder="<?php echo $entry_boxwzbj; ?>" id="input-boxwzbj" class="form-control"  />
              </div> 
            <div class="col-sm-3">
              <input type="text" name="boxborder" value="<?php echo $boxborder; ?>"  placeholder="<?php echo $entry_boxborder; ?>" id="input-boxborder" class="form-control"  />
              </div>
            <div class="col-sm-3">
			<div id="cp14" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="boxcolor" value="<?php echo $boxcolor; ?>"  placeholder="<?php echo $entry_boxcolor; ?>" id="input-boxcolor" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="boxround" value="<?php echo $boxround; ?>"  placeholder="<?php echo $entry_boxround; ?>" id="input-boxround" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="boxposition" value="<?php echo $boxposition; ?>"  placeholder="<?php echo $entry_boxposition; ?>" id="input-boxposition" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="boxshadow" value="<?php echo $boxshadow; ?>"  placeholder="<?php echo $entry_boxshadow; ?>" id="input-boxshadow" class="form-control"  />
              </div> 
            <div class="col-sm-3">
              <input type="text" name="boxshadowhover" value="<?php echo $boxshadowhover; ?>"  placeholder="<?php echo $entry_boxshadowhover; ?>" id="input-boxshadowhover" class="form-control"  />
              </div> 
            <div class="col-sm-3">
              <input type="text" name="boxbjhover" value="<?php echo $boxbjhover; ?>"  placeholder="<?php echo $entry_boxbjhover; ?>" id="input-boxbjhover" class="form-control"  />
              </div> 
            <div class="col-sm-3">
              <input type="text" name="boxcolorhover" value="<?php echo $boxcolorhover; ?>"  placeholder="<?php echo $entry_boxcolorhover; ?>" id="input-boxcolorhover" 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-3">
			<div id="cp10" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="miconbj" value="<?php echo $miconbj; ?>"  placeholder="<?php echo $entry_miconbj; ?>" id="input-miconbj" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp11" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="miconcolor" value="<?php echo $miconcolor; ?>"  placeholder="<?php echo $entry_miconcolor; ?>" id="input-miconcolor" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <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-3">
              <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-3">
              <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-3">
              <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-3">
              <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-3">
			<div id="cp12" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="miconbc" value="<?php echo $miconbc; ?>"  placeholder="<?php echo $entry_miconbc; ?>" id="input-miconbc" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <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-3">
              <input type="text" name="miconheight" value="<?php echo $miconheight; ?>"  placeholder="<?php echo $entry_miconheight; ?>" id="input-miconheight" class="form-control"  />
              </div>			  
            </div>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-imgmm"><?php echo $entry_imgmm; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-3">
			<div id="cp16" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="imgcbj" value="<?php echo $imgcbj; ?>"  placeholder="<?php echo $entry_imgcbj; ?>" id="input-imgcbj" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="imground" value="<?php echo $imground; ?>"  placeholder="<?php echo $entry_imground; ?>" id="input-imground" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="imgthumb" value="<?php echo $imgthumb; ?>"  placeholder="<?php echo $entry_imgthumb; ?>" id="input-imgthumb" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="imgshadow" value="<?php echo $imgshadow; ?>"  placeholder="<?php echo $entry_imgshadow; ?>" id="input-imgshadow" class="form-control"  />
              </div>
            <div class="col-sm-3 hidden">
              <input type="text" name="imgpadding" value="<?php echo $imgpadding; ?>"  placeholder="<?php echo $entry_imgpadding; ?>" id="input-imgpadding" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="imgborder" value="<?php echo $imgborder; ?>"  placeholder="<?php echo $entry_imgborder; ?>" id="input-imgborder" class="form-control"  />
              </div>
            <div class="col-sm-3">
			<div id="cp16" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="imgcolor" value="<?php echo $imgcolor; ?>"  placeholder="<?php echo $entry_imgcolor; ?>" id="input-imgcolor" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="imagewidth" value="<?php echo $imagewidth; ?>" placeholder="<?php echo $entry_imagewidth; ?>" id="input-imagewidth" class="form-control" />
			</div>
            <div class="col-sm-3">
              <input type="text" name="imageheight" value="<?php echo $imageheight; ?>" placeholder="<?php echo $entry_imageheight; ?>" id="input-imageheight" class="form-control" />
            </div>	
            <div class="col-sm-3">
              <input type="text" name="boxpadding" value="<?php echo $boxpadding; ?>"  placeholder="<?php echo $entry_boxpadding; ?>" id="input-boxpadding" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="boxptpadding" value="<?php echo $boxptpadding; ?>"  placeholder="<?php echo $entry_boxptpadding; ?>" id="input-boxptpadding" class="form-control"  />
              </div>			
            </div>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-href"><?php echo $entry_button1; ?></label>
			<div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="buttonname1" value="<?php echo $buttonname1; ?>" placeholder="<?php echo $entry_buttonname1; ?>" id="input-buttonname1" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="qq1" value="<?php echo $qq1; ?>" placeholder="<?php echo $entry_qq1; ?>" id="input-qq1" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="alww1" value="<?php echo $alww1; ?>" placeholder="<?php echo $entry_alww1; ?>" id="input-alww1" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="link1" value="<?php echo $link1; ?>" placeholder="<?php echo $entry_link1; ?>" id="input-link1" class="form-control" />
            </div>
			  <div class="col-sm-2">
              <input type="text" name="icons1" value="<?php echo $icons1; ?>" placeholder="<?php echo $entry_icons1; ?>" id="input-icons1" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="buttoncolor1" value="<?php echo $buttoncolor1; ?>" placeholder="<?php echo $entry_buttoncolor1; ?>" id="input-buttoncolor1" class="form-control" />
            </div>
			</div>
			</div>
          </div>  
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-href"><?php echo $entry_button2; ?></label>
			<div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="buttonname2" value="<?php echo $buttonname2; ?>" placeholder="<?php echo $entry_buttonname2; ?>" id="input-buttonname2" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="qq2" value="<?php echo $qq2; ?>" placeholder="<?php echo $entry_qq2; ?>" id="input-qq2" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="alww2" value="<?php echo $alww2; ?>" placeholder="<?php echo $entry_alww2; ?>" id="input-alww2" class="form-control" />
            </div>
            <div class="col-sm-2">
              <input type="text" name="link2" value="<?php echo $link2; ?>" placeholder="<?php echo $entry_link2; ?>" id="input-link2" class="form-control" />
            </div>
			  <div class="col-sm-2">
              <input type="text" name="icons2" value="<?php echo $icons2; ?>" placeholder="<?php echo $entry_icons2; ?>" id="input-icons2" class="form-control" />
            </div>
             <div class="col-sm-2">
              <input type="text" name="buttoncolor2" value="<?php echo $buttoncolor2; ?>" placeholder="<?php echo $entry_buttoncolor2; ?>" id="input-buttoncolor2" class="form-control" />
            </div>
			</div>
			</div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-box"><?php echo $entry_buttonstyle; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="buttonsize" value="<?php echo $buttonsize; ?>"  placeholder="<?php echo $entry_buttonsize; ?>" id="input-buttonsize" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="buttoninset" value="<?php echo $buttoninset; ?>"  placeholder="<?php echo $entry_buttoninset; ?>" id="input-buttoninset" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="buttonborder" value="<?php echo $buttonborder; ?>"  placeholder="<?php echo $entry_buttonborder ?>" id="input-buttonborder" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="buttonround" value="<?php echo $buttonround; ?>"  placeholder="<?php echo $entry_buttonround; ?>" id="input-buttonround" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="buttonhover" value="<?php echo $buttonhover; ?>"  placeholder="<?php echo $entry_buttonhover; ?>" id="input-buttonhover" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="buttond" value="<?php echo $buttond; ?>"  placeholder="<?php echo $entry_buttond; ?>" id="input-buttond" class="form-control"  />
              </div>			  
            </div>
			</div>
          </div>  	
		  <div class="form-group">
            <label class="col-sm-2 control-label" for="input-imagetext">鼠标滑过图文样式</label>
            <div class="col-sm-10">
              <select name="imagetext" id="input-imagetext" class="form-control">
				<?php if ($imagetext == 'none') { ?>
                <option value="none" selected="selected">默认(图文分割)</option>
				<?php } else { ?>
                <option value="none">默认(图文分割)</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--fade u-block-hover__additional--fade-left') { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-left" selected="selected">图片显示文字隐藏（全背景文字从左滑向右边）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--fade u-block-hover__additional--fade-left">图片显示文字隐藏（全背景文字从左滑向右边）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--fade u-block-hover__additional--fade-right') { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-right" selected="selected">图片显示文字隐藏（全背景文字从右滑向左边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-right">图片显示文字隐藏（全背景文字从右滑向左边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--fade u-block-hover__additional--fade-up') { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-up" selected="selected">图片显示文字隐藏（全背景文字从下滑向上边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-up">图片显示文字隐藏（全背景文字从下滑向上边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--fade u-block-hover__additional--fade-down') { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-down" selected="selected">图片显示文字隐藏（全背景文字从上滑向下边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--fade u-block-hover__additional--fade-down">图片显示文字隐藏（全背景文字从上滑向下边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--partially-slide-up') { ?>
                <option value="u-block-hover__additional--partially-slide-up" selected="selected">图片显示文字隐藏（半背景文字从下滑向上边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--partially-slide-up">图片显示文字隐藏（半背景文字从下滑向上边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--partially-slide-down') { ?>
                <option value="u-block-hover__additional--partially-slide-down" selected="selected">图片显示文字隐藏（半背景文字从上滑向下边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--partially-slide-down">图片显示文字隐藏（半背景文字从上滑向下边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--v1 u-block-hover__additional--slide-left') { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-left" selected="selected">图片显示文字隐藏（内边距背景文字从右滑向左边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-left">图片显示文字隐藏（内边距背景文字从右滑向左边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--v1 u-block-hover__additional--slide-up') { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-up" selected="selected">图片显示文字隐藏（内边距背景文字从下滑向上边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-up">图片显示文字隐藏（内边距背景文字从下滑向上边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--v1 u-block-hover__additional--slide-down') { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-down" selected="selected">图片显示文字隐藏（内边距背景文字从上滑向下边）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-down">图片显示文字隐藏（内边距背景文字从上滑向下边）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--v1 u-block-hover__additional--slide-right') { ?>
                <option value="u-block-hover__additional--v1 u-block-hover__additional--slide-right" selected="selected">图片显示文字隐藏（内边距背景文字从左滑向右边）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--v1 u-block-hover__additional--slide-right">图片显示文字隐藏（内边距背景文字从左滑向右边）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--zoom-v1') { ?>
                <option value="u-block-hover__main--zoom-v1" selected="selected">图文分割（文字上移模糊）</option>
				<?php } else { ?>
				<option value="u-block-hover__main--zoom-v1">图文分割（文字上移模糊）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--grayscale') { ?>
                <option value="u-block-hover__main--grayscale" selected="selected">样式12</option>
				<?php } else { ?>
				<option value="u-block-hover__main--grayscale">样式12</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--blur') { ?>
                <option value="u-block-hover__additional--blur" selected="selected">图片显示文字隐藏（鼠标滑过显示文字）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--blur">图片显示文字隐藏（鼠标滑过显示文字）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--blur') { ?>
                <option value="u-block-hover__main--blur" selected="selected">图文分割（文字放大消失）</option>
				<?php } else { ?>
				<option value="u-block-hover__main--blur">图文分割（文字放大消失）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--push-up') { ?>
                <option value="u-block-hover__main--push-up" selected="selected">图文分割（鼠标滑过文字上移）</option>
				<?php } else { ?>
                <option value="u-block-hover__main--push-up">图文分割（鼠标滑过文字上移）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--push-down') { ?>
                <option value="u-block-hover__main--push-down" selected="selected">图文分割（鼠标滑过文字下移消失）</option>
				<?php } else { ?>
				<option value="u-block-hover__main--push-down">图文分割（鼠标滑过文字下移消失）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--push-left') { ?>
                <option value="u-block-hover__main--push-left" selected="selected">图文分割（文字从右滑向左边消失）</option>
				<?php } else { ?>
                <option value="u-block-hover__main--push-left">图文分割（文字从右滑向左边消失）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__main--push-right') { ?>
                <option value="u-block-hover__main--push-right" selected="selected">图文分割（文字从左滑向右边消失）</option>
				<?php } else { ?>
                <option value="u-block-hover__main--push-right">图文分割（文字从左滑向右边消失）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--push-down') { ?>
                <option value="u-block-hover__additional--push-down" selected="selected">图片显示文字隐藏（文字从上向下推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--push-down">图片显示文字隐藏（文字从上向下推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--push-left') { ?>
                <option value="u-block-hover__additional--push-left" selected="selected">图片显示文字隐藏（文字从右向左推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--push-left">图片显示文字隐藏（文字从右向左推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--push-right') { ?>
                <option value="u-block-hover__additional--push-right" selected="selected">图片显示文字隐藏（文字从左向右推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--push-right">图片显示文字隐藏（文字从左向右推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--push-up') { ?>
                <option value="u-block-hover__additional--push-up" selected="selected">图片显示文字隐藏（文字从下向上推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--push-up">图片显示文字隐藏（文字从下向上推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--slide-bottom-right') { ?>
                <option value="u-block-hover__additional--slide-bottom-right" selected="selected">图片显示文字隐藏（文字从左上推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--slide-bottom-right">图片显示文字隐藏（文字从左上推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--slide-bottom-left') { ?>
                <option value="u-block-hover__additional--slide-bottom-left" selected="selected">图片显示文字隐藏（文字从右上推出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--slide-bottom-left">图片显示文字隐藏（文字从右上推出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--slide-top-right') { ?>
                <option value="u-block-hover__additional--slide-top-right" selected="selected">图片显示文字隐藏（文字从左下推出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--slide-top-right">图片显示文字隐藏（文字从左下推出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--slide-top-left') { ?>
                <option value="u-block-hover__additional--slide-top-left" selected="selected">图片显示文字隐藏（文字从右下推出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--slide-top-left">图片显示文字隐藏（文字从右下推出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--zoom-in') { ?>
                <option value="u-block-hover__additional--zoom-in" selected="selected">图片显示文字隐藏（文字从中间推出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--zoom-in">图片显示文字隐藏（文字从中间推出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--zoom-out') { ?>
                <option value="u-block-hover__additional--zoom-out" selected="selected">图片显示文字隐藏（文字从中间延迟推出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--zoom-out">图片显示文字隐藏（文字从中间延迟推出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--focuser-element') { ?>
                <option value="u-block-hover__additional--focuser-element" selected="selected">显示图文（鼠标滑过文字正常）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--focuser-element">显示图文（鼠标滑过文字正常）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--focuser-target') { ?>
                <option value="u-block-hover__additional--focuser-target" selected="selected">图文分割（鼠标滑过文字由大向中间正常显示）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--focuser-target">图文分割（鼠标滑过文字由大向中间正常显示）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-element-bottom-right') { ?>
                <option value="u-block-hover__additional--magnifier-element-bottom-right" selected="selected">图片显示文字隐藏（右下半角弹出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-element-bottom-right">图片显示文字隐藏（右下半角弹出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-description-bottom-right') { ?>
                <option value="u-block-hover__additional--magnifier-description-bottom-right" selected="selected">图片显示文字隐藏（右下弹出条形文字）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-description-bottom-right">图片显示文字隐藏（右下弹出条形文字）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-element-top-right') { ?>
                <option value="u-block-hover__additional--magnifier-element-top-right" selected="selected">图片显示文字隐藏（右上半角弹出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-element-top-right">图片显示文字隐藏（右上半角弹出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-description-top-right') { ?>
                <option value="u-block-hover__additional--magnifier-description-top-right" selected="selected">图片显示文字隐藏（右上弹出条形文字）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-description-top-right">图片显示文字隐藏（右上弹出条形文字）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-element-bottom-left') { ?>
                <option value="u-block-hover__additional--magnifier-element-bottom-left" selected="selected">图片显示文字隐藏（左下半角弹出）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-element-bottom-left">图片显示文字隐藏（左下半角弹出）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--magnifier-description-bottom-left') { ?>
                <option value="u-block-hover__additional--magnifier-description-bottom-left" selected="selected">图片显示文字隐藏（左下弹出条形文字）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--magnifier-description-bottom-left">图片显示文字隐藏（左下弹出条形文字）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--pappercuter-inner') { ?>
                <option value="u-block-hover__additional--pappercuter-inner" selected="selected">图文向右倾斜</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--pappercuter-inner">图文向右倾斜</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--pappercuter-front') { ?>
                <option value="u-block-hover__additional--pappercuter-front" selected="selected">显示图像（鼠标滑过透明背景向上隐藏）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--pappercuter-front">显示图像（鼠标滑过透明背景向上隐藏）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--pappercuter-back') { ?>
                <option value="u-block-hover__additional--pappercuter-back" selected="selected">显示图像（鼠标滑过透明背景向下隐藏）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--pappercuter-back">显示图像（鼠标滑过透明背景向下隐藏）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--outside-down') { ?>
                <option value="u-block-hover__additional--outside-down" selected="selected">图片显示文字隐藏（鼠标滑过文字从上向下弹出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--outside-down">图片显示文字隐藏（鼠标滑过文字从上向下弹出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--outside-left') { ?>
                <option value="u-block-hover__additional--outside-left" selected="selected">图片显示文字隐藏（鼠标滑过文字从右向左弹出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--outside-left">图片显示文字隐藏（鼠标滑过文字从右向左弹出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--outside-right') { ?>
                <option value="u-block-hover__additional--outside-right" selected="selected">图片显示文字隐藏（鼠标滑过文字从左向右弹出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--outside-right">图片显示文字隐藏（鼠标滑过文字从左向右弹出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--outside-up') { ?>
                <option value="u-block-hover__additional--outside-up" selected="selected">图片显示文字隐藏（鼠标滑过文字从下向上弹出）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--outside-up">图片显示文字隐藏（鼠标滑过文字从下向上弹出）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--lightspeed-left') { ?>
                <option value="u-block-hover__additional--lightspeed-left" selected="selected">图片显示文字隐藏（鼠标滑过文字从右向左摆动）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--lightspeed-left">图片显示文字隐藏（鼠标滑过文字从右向左摆动）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--lightspeed-right') { ?>
                <option value="u-block-hover__additional--lightspeed-right" selected="selected">图片显示文字隐藏（鼠标滑过文字从左向右摆动）</option>
				<?php } else { ?>
				<option value="u-block-hover__additional--lightspeed-right">图片显示文字隐藏（鼠标滑过文字从左向右摆动）</option>
                <?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--lightspeed-down') { ?>
                <option value="u-block-hover__additional--lightspeed-down" selected="selected">图片显示文字隐藏（鼠标滑过文字从上向下摆动）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--lightspeed-down">图片显示文字隐藏（鼠标滑过文字从上向下摆动）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--lightspeed-up') { ?>
                <option value="u-block-hover__additional--lightspeed-up" selected="selected">图片显示文字隐藏（鼠标滑过文字从下向上摆动）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--lightspeed-up">图片显示文字隐藏（鼠标滑过文字从下向上摆动）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--rotate-in') { ?>
                <option value="u-block-hover__additional--rotate-in" selected="selected">图片显示文字隐藏（鼠标滑过文字从中间旋转出来）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--rotate-in">图片显示文字隐藏（鼠标滑过文字从中间旋转出来）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--rotate-down-left') { ?>
                <option value="u-block-hover__additional--rotate-down-left" selected="selected">图片显示文字隐藏（鼠标滑过文字从左下旋转出来）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--rotate-down-left">图片显示文字隐藏（鼠标滑过文字从左下旋转出来）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--rotate-down-right') { ?>
                <option value="u-block-hover__additional--rotate-down-right" selected="selected">图片显示文字隐藏（鼠标滑过文字从右下旋转出来）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--rotate-down-right">图片显示文字隐藏（鼠标滑过文字从右下旋转出来）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--rotate-up-left') { ?>
                <option value="u-block-hover__additional--rotate-up-left" selected="selected">图片显示文字隐藏（鼠标滑过文字从左上旋转出来）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--rotate-up-left">图片显示文字隐藏（鼠标滑过文字从左上旋转出来）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--rotate-up-right') { ?>
                <option value="u-block-hover__additional--rotate-up-right" selected="selected">图片显示文字隐藏（鼠标滑过文字从右上旋转出来）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--rotate-up-right">图片显示文字隐藏（鼠标滑过文字从右上旋转出来）</option>
				<?php } ?>
				<?php if ($imagetext == 'u-block-hover__additional--jump') { ?>
                <option value="u-block-hover__additional--jump" selected="selected">图文分割（鼠标滑过文字上移）</option>
				<?php } else { ?>
                <option value="u-block-hover__additional--jump">图文分割（鼠标滑过文字上移）</option>
				<?php } ?>
              </select>
            </div>
          </div> 
		  <div class="form-group">
            <label class="col-sm-2 control-label" for="input-imagepicstyle">鼠标滑过图片样式</label>
            <div class="col-sm-10">
              <select name="imagepicstyle" id="input-imagepicstyle" class="form-control">
				<?php if ($imagepicstyle == 'none') { ?>
                <option value="none" selected="selected">默认(无样式)</option>
				<?php } else { ?>
                <option value="none">默认(无样式)</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--zoom-v1') { ?>
                <option value="u-block-hover__main--zoom-v1" selected="selected">等比例图片放大</option>
				<?php } else { ?>
				<option value="u-block-hover__main--zoom-v1">等比例图片放大</option>
                <?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--mover-down') { ?>
                <option value="u-block-hover__main--mover-down" selected="selected">图片从顶部缩小</option>
				<?php } else { ?>
                <option value="u-block-hover__main--mover-down">图片从顶部缩小</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--mover-up') { ?>
                <option value="u-block-hover__main--mover-up" selected="selected">图片从低部缩小</option>
				<?php } else { ?>
                <option value="u-block-hover__main--mover-up">图片从低部缩小</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--mover-right') { ?>
                <option value="u-block-hover__main--mover-right" selected="selected">图片从左滑道右边</option>
				<?php } else { ?>
                <option value="u-block-hover__main--mover-right">图片从左滑道右边</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--mover-left') { ?>
                <option value="u-block-hover__main--mover-left" selected="selected">图片从左滑道右边</option>
				<?php } else { ?>
                <option value="u-block-hover__main--mover-left">图片从右滑道左边</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--magnifier-top-right') { ?>
                <option value="u-block-hover__main--magnifier-top-right" selected="selected">图片向左下滑动</option>
				<?php } else { ?>
                <option value="u-block-hover__main--magnifier-top-right">图片向左下滑动</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--magnifier-top-left') { ?>
                <option value="u-block-hover__main--magnifier-top-left" selected="selected">图片向右下滑动</option>
				<?php } else { ?>
                <option value="u-block-hover__main--magnifier-top-left">图片向右下滑动</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--magnifier-bottom-right') { ?>
                <option value="u-block-hover__main--magnifier-bottom-right" selected="selected">图片向左上滑动</option>
				<?php } else { ?>
                <option value="u-block-hover__main--magnifier-bottom-right">图片向左上滑动</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--magnifier-bottom-left') { ?>
                <option value="u-block-hover__main--magnifier-bottom-left" selected="selected">图片向右上滑动</option>
				<?php } else { ?>
                <option value="u-block-hover__main--magnifier-bottom-left">图片向右上滑动</option>
				<?php } ?>
				<?php if ($imagepicstyle == 'g-transform-scale-1_1--parent-hover g-transition-0_3 g-transition--ease-in') { ?>
                <option value="g-transform-scale-1_1--parent-hover g-transition-0_3 g-transition--ease-in" selected="selected">图片放大样式二</option>
				<?php } else { ?>
				<option value="g-transform-scale-1_1--parent-hover g-transition-0_3 g-transition--ease-in">图片放大样式二</option>
                <?php } ?>
				<?php if ($imagepicstyle == 'g-transform-scale-1_2--parent-hover g-transition-0_3 g-transition--ease-in') { ?>
                <option value="g-transform-scale-1_2--parent-hover g-transition-0_3 g-transition--ease-in" selected="selected">图片放大样式三</option>
				<?php } else { ?>
				<option value="g-transform-scale-1_2--parent-hover g-transition-0_3 g-transition--ease-in">图片放大样式三</option>
                <?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover__main--grayscale g-opacity-0_3 g-opacity-1--hover g-cursor-pointer') { ?>
                <option value="u-block-hover__main--grayscale g-opacity-0_3 g-opacity-1--hover g-cursor-pointer" selected="selected">图片灰色鼠标滑过点亮</option>
				<?php } else { ?>
				<option value="u-block-hover__main--grayscale g-opacity-0_3 g-opacity-1--hover g-cursor-pointer">图片灰色鼠标滑过点亮</option>
                <?php } ?>
				<?php if ($imagepicstyle == 'g-opacity-0_3 g-opacity-1--hover g-cursor-pointer') { ?>
                <option value="g-opacity-0_3 g-opacity-1--hover g-cursor-pointer" selected="selected">图片白色鼠标滑过点亮</option>
				<?php } else { ?>
				<option value="g-opacity-0_3 g-opacity-1--hover g-cursor-pointer">图片白色鼠标滑过点亮</option>
                <?php } ?>
				<?php if ($imagepicstyle == 'u-block-hover u-block-hover__additional--jump g-transition-0_3') { ?>
                <option value="u-block-hover u-block-hover__additional--jump g-transition-0_3" selected="selected">鼠标滑过上移</option>
				<?php } else { ?>
				<option value="u-block-hover u-block-hover__additional--jump g-transition-0_3">鼠标滑过上移</option>
                <?php } ?>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-box"><?php echo $entry_slidestyletwo; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-3">
              <input type="text" name="slidename" value="<?php echo $slidename; ?>"  placeholder="<?php echo $entry_slidename; ?>" id="input-slidename" class="form-control"  />
              <?php if ($error_slidename) { ?>
              <div class="text-danger"><?php echo $error_slidename; ?></div>
              <?php } ?>
			  </div>
            <div class="col-sm-3">
              <input type="text" name="slidewidthtwo" value="<?php echo $slidewidthtwo; ?>"  placeholder="<?php echo $entry_slidewidthtwo; ?>" id="input-slidewidthtwo" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="slideheighttwo" value="<?php echo $slideheighttwo; ?>"  placeholder="<?php echo $entry_slideheighttwo; ?>" id="input-slideheighttwo" class="form-control"  />
              </div>
            <div class="col-sm-3">
              <input type="text" name="slideradiustwo" value="<?php echo $slideradiustwo; ?>"  placeholder="<?php echo $entry_slideradiustwo ?>" id="input-slideradiustwo" class="form-control"  />
              </div>
            <div class="col-sm-3">
			<div id="cp17" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="slidebackgroundtwo" value="<?php echo $slidebackgroundtwo; ?>"  placeholder="<?php echo $entry_slidebackgroundtwo; ?>" id="input-slidebackgroundtwo" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-3">
			<div id="cp18" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="slidecolortwo" value="<?php echo $slidecolortwo; ?>"  placeholder="<?php echo $entry_slidecolortwo; ?>" id="input-slidecolortwo" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>		  
            </div>
            <div class="col-sm-3">
              <input type="text" name="sliderbordertwo" value="<?php echo $sliderbordertwo; ?>"  placeholder="<?php echo $entry_sliderbordertwo ?>" id="input-sliderbordertwo" class="form-control"  />
              </div>
            <div class="col-sm-3">
			<div id="cp19" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="sliderhkctwo" value="<?php echo $sliderhkctwo; ?>"  placeholder="<?php echo $entry_sliderhkctwo; ?>" id="input-sliderhkctwo" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>		  
            </div>
            <div class="col-sm-3">
              <input type="text" name="slideformtwo" value="<?php echo $slideformtwo; ?>"  placeholder="<?php echo $entry_slideformtwo ?>" id="input-slideformtwo" class="form-control"  />
              </div>			  
			</div>
			</div>
          </div>  		  
          <table id="images" class="table table-striped table-bordered table-hover">
            <thead>
              <tr>
                <td class="text-left"><?php echo $entry_title; ?></td>
                <td class="text-left"><?php echo $entry_text; ?></td>
                <td class="text-contact"><span data-toggle="tooltip" title="" data-original-title="请在按钮颜色框中填入对应的颜色值：如primary/red..."><?php echo $entry_contact; ?></span></td>
				<td class="text-introduce"><?php echo $entry_introduce; ?></td>
				<td class="text-boxbotton"><span data-toggle="tooltip" title="" data-original-title="如预览效果"><?php echo $entry_boxbotton; ?></span></td>
                <td class="text-left"><?php echo $entry_link; ?></td>
                <td class="text-left"><?php echo $entry_image; ?></td>
                <td class="text-right"><?php echo $entry_sort_order; ?></td>
                <td></td>
              </tr>
            </thead>
            <tbody>
              <?php $service_row = 0; ?>
              <?php foreach ($services as $service) { ?>
              <tr id="service-row<?php echo $service_row; ?>">
                <td class="text-left"><?php foreach ($languages as $language) { ?>
                    <input type="text" name="service[<?php echo $service_row; ?>][title][<?php echo $language['language_id']; ?>]" value="<?php echo isset($service['title'][$language['language_id']]) ? $service['title'][$language['language_id']] : ''; ?>" placeholder="<?php echo $entry_title; ?>" class="form-control" />
                  <?php if (isset($error_service[$service_row][$language['language_id']])) { ?>
                  <div class="text-danger"><?php echo $error_service[$service_row][$language['language_id']]; ?></div>
                  <?php } ?>
                  <?php } ?></td>
                <td class="text-left"><?php foreach ($languages as $language) { ?>
                    <input type="text" name="service[<?php echo $service_row; ?>][text][<?php echo $language['language_id']; ?>]" value="<?php echo isset($service['text'][$language['language_id']]) ? $service['text'][$language['language_id']] : ''; ?>" placeholder="<?php echo $entry_text; ?>" class="form-control" />
                  <?php if (isset($error_service[$service_row][$language['language_id']])) { ?>
                  <div class="text-danger"><?php echo $error_service[$service_row][$language['language_id']]; ?></div>
                  <?php } ?>
                  <?php } ?></td>
                <td class="text-left"><?php foreach ($languages as $language) { ?>
                    <input type="text" name="service[<?php echo $service_row; ?>][color][<?php echo $language['language_id']; ?>]" value="<?php echo isset($service['color'][$language['language_id']]) ? $service['color'][$language['language_id']] : ''; ?>" placeholder="<?php echo $entry_color; ?>" class="form-control" />
                  <?php if (isset($error_service[$service_row][$language['language_id']])) { ?>
                  <div class="text-danger"><?php echo $error_service[$service_row][$language['language_id']]; ?></div>
                  <?php } ?>
                  <?php } ?></td> 
                <td class="text-left"  style="width: 20%;"><?php foreach ($languages as $language) { ?>
                    <textarea name="service[<?php echo $service_row; ?>][introduce][<?php echo $language['language_id']; ?>]" placeholder="<?php echo $entry_introduce; ?>" rows="5" class="form-control" /><?php echo isset($service['introduce'][$language['language_id']]) ? $service['introduce'][$language['language_id']] : ''; ?></textarea>
                  <?php if (isset($error_service[$service_row][$language['language_id']])) { ?>
                  <div class="text-danger"><?php echo $error_service[$service_row][$language['language_id']]; ?></div>
                  <?php } ?>
                  <?php } ?></td>   

                <td class="text-left"><?php foreach ($languages as $language) { ?>
                    <input type="text" name="service[<?php echo $service_row; ?>][boxbottonn1][<?php echo $language['language_id']; ?>]" value="<?php echo isset($service['boxbottonn1'][$language['language_id']]) ? $service['boxbottonn1'][$language['language_id']] : ''; ?>" placeholder="<?php echo $entry_boxbottonn1; ?>" class="form-control" />
                    <input type="text" name="service[<?php echo $service_row; ?>][boxbottonn2][<?php echo $language['language_id']; ?>]" value="<?php echo isset($service['boxbottonn2'][$language['language_id']]) ? $service['boxbottonn2'][$language['language_id']] : ''; ?>" placeholder="<?php echo $entry_boxbottonn2; ?>" class="form-control" />
                  <?php if (isset($error_service[$service_row][$language['language_id']])) { ?>
                  <div class="text-danger"><?php echo $error_service[$service_row][$language['language_id']]; ?></div>
                  <?php } ?>
                  <?php } ?></td> 				  
                <td class="text-left">
                <input type="text" name="service[<?php echo $service_row; ?>][weblink]" value="<?php echo $service['weblink']; ?>" placeholder="<?php echo $entry_weblink; ?>" class="form-control" />
                <input type="text" name="service[<?php echo $service_row; ?>][weibolink]" value="<?php echo $service['weibolink']; ?>" placeholder="<?php echo $entry_weibolink; ?>" class="form-control" />
                </td>                                                   
                <td class="text-left"><a href="" id="thumb-image<?php echo $service_row; ?>" data-toggle="image" class="img-thumbnail"><img src="<?php echo $service['thumb']; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
                  <input type="hidden" name="service[<?php echo $service_row; ?>][image]" value="<?php echo $service['image']; ?>" id="input-image<?php echo $service_row; ?>" /></td>
				  
                <td class="text-right" style="width: 10%;"><input type="text" name="service[<?php echo $service_row; ?>][sort_order]" value="<?php echo $service['sort_order']; ?>" placeholder="<?php echo $entry_sort_order; ?>" class="form-control" /></td>
                <td class="text-left"><button type="button" onclick="$('#service-row<?php echo $service_row; ?>, .tooltip').remove();" data-toggle="tooltip" title="<?php echo $button_remove; ?>" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>
              </tr>
              <?php $service_row++; ?>
              <?php } ?>
            </tbody>
            <tfoot>
              <tr>
                <td colspan="8"></td>
                <td class="text-left"><button type="button" onclick="addService();" data-toggle="tooltip" title="<?php echo $button_add; ?>" class="btn btn-primary"><i class="fa fa-plus-circle"></i></button></td>
              </tr>
            </tfoot>
          </table>
        </form>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript"><!--
var service_row = <?php echo $service_row; ?>;

function addService() {
  html  = '<tr id="service-row' + service_row + '">';
  html += '  <td class="text-left">';
  <?php foreach ($languages as $language) { ?>
  html += '      <input type="text" name="service[' + service_row + '][title][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_title; ?>" class="form-control" />';
  <?php } ?>
  html += '  </td>';
  html += '  <td class="text-left">';
  <?php foreach ($languages as $language) { ?>
  html += '      <input type="text" name="service[' + service_row + '][text][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_text; ?>" class="form-control" />';
  <?php } ?>
  html += '  </td>';
    html += '  <td class="text-left">';
  <?php foreach ($languages as $language) { ?>
  html += '      <input type="text" name="service[' + service_row + '][color][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_color; ?>" class="form-control" />';
  <?php } ?>
  html += '  </td>';
  html += '  <td class="text-left"  style="width: 20%;">';
  <?php foreach ($languages as $language) { ?>
  html += '      <textarea name="service[' + service_row + '][introduce][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_introduce; ?>" rows="5" class="form-control" />';
  <?php } ?>
  html += '  </td>'; 

    html += '  <td class="text-left">';
  <?php foreach ($languages as $language) { ?>
  html += '      <input type="text" name="service[' + service_row + '][boxbottonn1][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_boxbottonn1; ?>" class="form-control" /><input type="text" name="service[' + service_row + '][boxbottonn2][<?php echo $language['language_id']; ?>]" value="" placeholder="<?php echo $entry_boxbottonn2; ?>" class="form-control" />';
  <?php } ?>
  html += '  </td>';     
  html += '  <td class="text-left"><input type="text" name="service[' + service_row + '][weblink]" value="" placeholder="<?php echo $entry_weblink; ?>" class="form-control" /><input type="text" name="service[' + service_row + '][weibolink]" value="" placeholder="<?php echo $entry_weibolink; ?>" class="form-control" /></td>';
  html += '  <td class="text-left"><a href="" id="thumb-image' + service_row + '" data-toggle="image" class="img-thumbnail"><img src="<?php echo $placeholder; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a><input type="hidden" name="service[' + service_row + '][image]" value="" id="input-image' + service_row + '" /></td>';
  html += '  <td class="text-right" style="width: 10%;"><input type="text" name="service[' + service_row + '][sort_order]" value="" placeholder="<?php echo $entry_sort_order; ?>" class="form-control" /></td>';
  html += '  <td class="text-left"><button type="button" onclick="$(\'#service-row' + service_row  + '\').remove();" data-toggle="tooltip" title="<?php echo $button_remove; ?>" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>';
  html += '</tr>';

  $('#images tbody').append(html);

  service_row++;
}
//--></script>
	<script type="text/javascript">
		$(function () {
		    $('#cp5').colorpicker({
		      format: "rgba"
		    });
		    $('#cp2, #cp3, #cp4, #cp6, #cp7, #cp8, #cp9, #cp10, #cp11, #cp12, #cp13, #cp14, #cp16, #cp17, #cp18, #cp19, #cp21, #cp22').colorpicker();
		  });
	</script>
 <link href="view/javascript/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
 <script src="view/javascript/colorpicker/js/bootstrap-colorpicker.min.js"></script>

<?php echo $footer; ?>
</div>