<?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="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">
            <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">
            <label class="col-sm-2 control-label" for="input-scrollupi"><?php echo $entry_scrollupi; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
              <input type="text" name="scrollupb" value="<?php echo $scrollupb; ?>"  placeholder="<?php echo $entry_scrollupb; ?>" id="input-scrollupb" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="scrollupr" value="<?php echo $scrollupr; ?>"  placeholder="<?php echo $entry_scrollupr; ?>" id="input-scrollupr" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="scrollupw" value="<?php echo $scrollupw; ?>"  placeholder="<?php echo $entry_scrollupw; ?>" id="input-scrollupw" class="form-control"  />
              </div>
            <div class="col-sm-2">
              <input type="text" name="scrolluph" value="<?php echo $scrolluph; ?>"  placeholder="<?php echo $entry_scrolluph; ?>" id="input-scrolluph" class="form-control"  />
              </div>	
            <div class="col-sm-2">
              <input type="text" name="scrolluprad" value="<?php echo $scrolluprad; ?>"  placeholder="<?php echo $entry_scrolluprad; ?>" id="input-scrolluprad" class="form-control"  />
              </div>				  
            <div class="col-sm-2">
			<div id="cp2" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="scrolluprcss" value="<?php echo $scrolluprcss; ?>"  placeholder="<?php echo $entry_scrolluprcss; ?>" id="input-scrolluprcss" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-2">
			<div id="cp5" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="scrollupback" value="<?php echo $scrollupback; ?>"  placeholder="<?php echo $entry_scrollupback; ?>" id="input-scrollupback" class="color form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
              </div>
            <div class="col-sm-2">
              <input type="text" name="scrollupbd" value="<?php echo $scrollupbd; ?>"  placeholder="<?php echo $entry_scrollupbd; ?>" id="input-scrollupbd" class="form-control"  />
              </div>	
            <div class="col-sm-2">
			<div id="cp3" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="scrollupbc" value="<?php echo $scrollupbc; ?>"  placeholder="<?php echo $entry_scrollupbc; ?>" id="input-scrollupbc" 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-suhover"><?php echo $entry_suhover; ?></label>
            <div class="col-sm-10">
			<div class="row">
            <div class="col-sm-2">
			<div id="cp3" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="suhcolor" value="<?php echo $suhcolor; ?>"  placeholder="<?php echo $entry_suhcolor; ?>" id="input-suhcolor" class="color {required:false,hash:true} form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>
			  </div>
            <div class="col-sm-2">
			<div id="cp4" class="input-group colorpicker-component colorpicker-element">
              <input type="text" name="suhback" value="<?php echo $suhback; ?>"  placeholder="<?php echo $entry_suhback; ?>" id="input-suhback" class="color {required:false,hash:true} form-control"  />
              <span class="input-group-addon"><i></i></span>
			  </div>	
			  </div>
            </div>
			</div>
          </div> 
        </form>
      </div>
    </div>
  </div>
</div>
	<script type="text/javascript">
		$(function () {
		    $('#cp5').colorpicker({
		      format: "rgba"
		    });
		    $('#cp2, #cp3, #cp4, #cp6, #cp7, #cp8, #cp9').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; ?>
