<?php echo $header; ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>
  <?php if ($success) { ?>
  <div class="success"><?php echo $success; ?></div>
  <?php } ?>
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/blog.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
    </div>
    <div class="content">
      <div id="tabs" class="htabs"><a href="#tab_general"><?php echo $tab_general; ?></a><a href="#tab_share"><?php echo $tab_share; ?></a></div>	
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
		<div id="tab_general">
        <table class="form">
		  <tr>
          	<td><?php echo $entry_blog_per_page; ?></td>
            <td><input type="text" name="blog_setting_blog_per_page" value="<?php echo $blog_setting_blog_per_page; ?>" size="2" /></td>
          </tr>
		  <tr>
          	<td><?php echo $entry_blog_comments_per_page; ?></td>
            <td><input type="text" name="blog_setting_blog_comments_per_page" value="<?php echo $blog_setting_blog_comments_per_page; ?>" size="2" /></td>
          </tr>
		  <tr>
          	<td><?php echo $entry_blog_list_image_dimension; ?></td>
            <td><input type="text" name="blog_setting_blog_list_image_dimension_width" value="<?php echo $blog_setting_blog_list_image_dimension_width; ?>" size="2" /> X <input type="text" name="blog_setting_blog_list_image_dimension_height" value="<?php echo $blog_setting_blog_list_image_dimension_height; ?>" size="2" /></td>
          </tr>
		  <tr>
          	<td><?php echo $entry_blog_list_short_description_max_chars; ?></td>
            <td><input type="text" name="blog_setting_blog_list_short_description_max_chars" value="<?php echo $blog_setting_blog_list_short_description_max_chars; ?>" size="2" /></td>
          </tr>
		  <tr>
            <td><?php echo $entry_show_category_description; ?></td>
            <td><select name="blog_setting_show_category_description">
                <?php if ($blog_setting_show_category_description) { ?>
                <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></td>
          </tr>
        </table>
		</div>
		<div id="tab_share">
		<table class="form">
		  <tr>
            <td><?php echo $entry_share_button_code; ?></td>
            <td><textarea name="blog_setting_share_button_code" cols="80" rows="10"><?php echo $blog_setting_share_button_code; ?></textarea></td>
            </tr>
		</table>
		</div>
      </form>
    </div>
  </div>
</div>
<script type="text/javascript"><!--
$('#tabs a').tabs(); 
$('#languages a').tabs(); 
//--></script> 
<?php echo $footer; ?>