<?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-tradeevo" 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-tradeevo" class="form-horizontal">
         
          <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="tradeevo_status" id="input-status" class="form-control">
                <?php if ($tradeevo_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-tradeevo-public-key"><?php echo $text_public_key; ?></label>
            <div class="col-sm-10">
              <input type="text" name="tradeevo_public_key" value="<?php echo $tradeevo_public_key; ?>" placeholder="<?php echo $text_public_key; ?>" id="input-tradeevo-public-key" class="form-control" />
            </div>
          </div>
          
         <div class="form-group">
            <label class="col-sm-2 control-label" for="input-tradeevo-private-key"><?php echo $text_private_key; ?></label>
            <div class="col-sm-10">
              <input type="text" name="tradeevo_private_key" value="<?php echo $tradeevo_private_key; ?>" placeholder="<?php echo $text_private_key; ?>" id="input-tradeevo-private-key" class="form-control" />
            </div>
          </div>
          
          
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-success_order_status_id"><?php echo $text_success_order_status_id; ?></label>
            <div class="col-sm-10">
              <select name="tradeevo_success_order_status_id" id="input-success_order_status_id" class="form-control">
                <?php foreach ($order_statuses as $order_status) { ?>
                <?php if ($order_status['order_status_id'] == $tradeevo_success_order_status_id) { ?>
                <option value="<?php echo $order_status['order_status_id']; ?>" selected="selected"><?php echo $order_status['name']; ?></option>
                <?php } else { ?>
                <option value="<?php echo $order_status['order_status_id']; ?>"><?php echo $order_status['name']; ?></option>
                <?php } ?>
                <?php } ?>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-fail_order_status_id"><?php echo $text_fail_order_status_id; ?></label>
            <div class="col-sm-10">
              <select name="tradeevo_fail_order_status_id" id="input-fail_order_status_id" class="form-control">
                <?php foreach ($order_statuses as $order_status) { ?>
                <?php if ($order_status['order_status_id'] == $tradeevo_fail_order_status_id) { ?>
                <option value="<?php echo $order_status['order_status_id']; ?>" selected="selected"><?php echo $order_status['name']; ?></option>
                <?php } else { ?>
                <option value="<?php echo $order_status['order_status_id']; ?>"><?php echo $order_status['name']; ?></option>
                <?php } ?>
                <?php } ?>
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $text_categories_feed; ?></label>
            <div class="col-sm-10" >
            		<a href="<?php echo $categories_feed; ?>" style="display:block;padding:10px 0;" target="_blank"><?php echo $categories_feed; ?></a>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $text_products_feed; ?></label>
            <div class="col-sm-10" >
            		<a href="<?php echo $products_feed; ?>" style="display:block;padding:10px 0;" target="_blank"><?php echo $products_feed; ?></a>
            		<div style="color:gray;font-size:12px;"><?php echo $text_products_feed_help; ?></div>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $text_orders_feed; ?></label>
            <div class="col-sm-10" >
            		<a href="<?php echo $orders_feed; ?>" style="display:block;padding:10px 0;" target="_blank"><?php echo $orders_feed; ?></a>
            		<div style="color:gray;font-size:12px;"><?php echo $text_orders_feed_help; ?></div>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $text_set_products_feed; ?></label>
            <div class="col-sm-10" >
            		<a href="<?php echo $set_products_feed; ?>" style="display:block;padding:10px 0;" target="_blank"><?php echo $set_products_feed; ?></a>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><?php echo $text_set_orders_feed; ?></label>
            <div class="col-sm-10" >
            		<a href="<?php echo $set_orders_feed; ?>" style="display:block;padding:10px 0;" target="_blank"><?php echo $set_orders_feed; ?></a>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<?php echo $footer; ?>