[ Index ]

PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09)

title

Body

[close]

/include/inc_tmpl/ -> admin.pagelayout.tmpl.php (source)

   1  <?php
   2  /*************************************************************************************
   3     Copyright notice
   4     
   5     (c) 2002-2009 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
   6   
   7     This script is part of PHPWCMS. The PHPWCMS web content management system is
   8     free software; you can redistribute it and/or modify it under the terms of
   9     the GNU General Public License as published by the Free Software Foundation;
  10     either version 2 of the License, or (at your option) any later version.
  11    
  12     The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
  13     A copy is found in the textfile GPL.txt and important notices to the license 
  14     from the author is found in LICENSE.txt distributed with these scripts.
  15    
  16     This script is distributed in the hope that it will be useful, but WITHOUT ANY 
  17     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  18     PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  19   
  20     This copyright notice MUST APPEAR in all copies of the script!
  21  *************************************************************************************/
  22  
  23  // ----------------------------------------------------------------
  24  // obligate check for phpwcms constants
  25  if (!defined('PHPWCMS_ROOT')) {
  26     die("You Cannot Access This Script Directly, Have a Nice Day.");
  27  }
  28  // ----------------------------------------------------------------
  29  
  30                          
  31  
  32  if(!isset($_GET["s"])) { 
  33  // check if pagelayout should be edited or list should be shown
  34  ?><table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
  35      <tr><td colspan="3" class="title"><?php echo $BL['be_admin_page_title'] ?></td></tr>
  36      <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
  37      <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>
  38  <?php
  39      // loop listing available pagelayouts 
  40      $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_pagelayout WHERE pagelayout_trash=0 ORDER BY pagelayout_default DESC;";
  41      if($result = mysql_query($sql, $db) or die("error while listing pagelayouts")) {
  42          $row_count = 0;
  43          while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
  44      
  45              echo "<tr".( ($row_count % 2) ? " bgcolor=\"#F3F5F8\"" : "" ).">\n<td width=\"1%\" style=\"padding:2px 5px 2px 3px\">";
  46              
  47              echo '<img src="img/famfamfam/layout.gif" alt="" border="0" /></td>'."\n";
  48              
  49              echo '<td class="dir"><a href="phpwcms.php?do=admin&amp;p=8&amp;s='.$row["pagelayout_id"];
  50              echo '"><strong>'.html_specialchars($row["pagelayout_name"])."</strong>";
  51              
  52              echo ($row["pagelayout_default"]) ? " (".$BL['be_admin_tmpl_default'].")" : "";
  53              
  54              echo "</a></td>\n".'<td align="right" nowarp="nowrap" style="padding:2px 3px 0 5px">';
  55              
  56              echo '<a href="phpwcms.php?do=admin&amp;p=8&amp;s='.$row["pagelayout_id"].'" title="'.$BL['be_admin_page_edit'].'">';
  57              echo '<img src="img/button/edit_22x13.gif" alt="" border="0" /></a>';
  58              
  59              echo '<a href="include/inc_act/act_frontendsetup.php?do=1|'.$row["pagelayout_id"].'" ';
  60              echo 'title="delete pagelayout: '.html_specialchars($row["pagelayout_name"]);
  61              echo '" style="margin-left:3px" onclick="return confirm(\''.$BL['be_cnt_delete'].': '.js_singlequote(html_specialchars($row["pagelayout_name"])).'?  \')">';
  62              echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>';
  63              
  64              echo "</td>\n</tr>\n";
  65              $row_count++;
  66          }
  67          mysql_free_result($result);
  68      } // end listing
  69          
  70  ?>
  71      <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>
  72      <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="8"></td>
  73      </tr>
  74      <tr><td colspan="3"><form action="phpwcms.php?do=admin&p=8&s=0" method="post"><input type="submit" value="<?php echo $BL['be_admin_page_add'] ?>" class="button10" title="<?php echo $BL['be_admin_page_add'] ?>"></form></td>
  75      </tr>
  76  </table>
  77  <?php
  78  
  79  } else {
  80  
  81      $pagelayout["id"] = intval($_GET["s"]);
  82      
  83      if(isset($_POST["layout_id"])) {
  84      
  85          // read the full pagelayout values
  86          $pagelayout["id"]                         = intval($_POST["layout_id"]);
  87          $pagelayout["layout_name"]                = clean_slweg($_POST["layout_name"], 200);
  88          if(!$pagelayout["layout_name"]) $pagelayout["layout_name"] = "pagelayout_".randpassword(3);
  89          $pagelayout["layout_default"]             = isset($_POST["layout_default"]) ? intval($_POST["layout_default"]) : 0;
  90          
  91          $pagelayout["layout_align"]               = intval($_POST["layout_align"]);
  92          $pagelayout["layout_type"]                = intval($_POST["layout_type"]);
  93      
  94          $pagelayout["layout_border_top"]          = intval($_POST["layout_border_top"]);
  95          $pagelayout["layout_border_bottom"]       = intval($_POST["layout_border_bottom"]);
  96          $pagelayout["layout_border_left"]         = intval($_POST["layout_border_left"]);
  97          $pagelayout["layout_border_right"]        = intval($_POST["layout_border_right"]);
  98          $pagelayout["layout_noborder"]            = isset($_POST["layout_noborder"]) ? 1 : 0;
  99          
 100          $pagelayout["layout_border_top"]          = ($pagelayout["layout_noborder"]) ? "" : strval($_POST["layout_border_top"]);
 101          $pagelayout["layout_border_bottom"]       = ($pagelayout["layout_noborder"]) ? "" : strval($_POST["layout_border_bottom"]);
 102          $pagelayout["layout_border_left"]         = ($pagelayout["layout_noborder"]) ? "" : strval($_POST["layout_border_left"]);
 103          $pagelayout["layout_border_right"]        = ($pagelayout["layout_noborder"]) ? "" : strval($_POST["layout_border_right"]);
 104      
 105          $pagelayout["layout_title"]               = clean_slweg($_POST["layout_title"]);
 106          //$pagelayout["layout_title_cat"]           = intval($_POST["layout_title_cat"]);
 107          //$pagelayout["layout_title_article"]       = intval($_POST["layout_title_article"]);
 108          $pagelayout["layout_title_order"]          = intval($_POST["layout_title_order"]);
 109          $pagelayout["layout_title_spacer"]          = slweg($_POST["layout_title_spacer"], 0, false);
 110          
 111          
 112      
 113          $pagelayout["layout_bgcolor"]             = clean_slweg($_POST["layout_bgcolor"],7);
 114          $pagelayout["layout_bgimage"]             = clean_slweg($_POST["layout_bgimage"]);
 115      
 116          $pagelayout["layout_jsonload"]            = slweg($_POST["layout_jsonload"]);
 117      
 118          $pagelayout["layout_textcolor"]           = clean_slweg($_POST["layout_textcolor"],7);
 119          $pagelayout["layout_linkcolor"]           = clean_slweg($_POST["layout_linkcolor"],7);
 120          $pagelayout["layout_vcolor"]              = clean_slweg($_POST["layout_vcolor"],7);
 121          $pagelayout["layout_acolor"]              = clean_slweg($_POST["layout_acolor"],7);
 122      
 123          $pagelayout["layout_all_width"]           = get_pix_or_percent($_POST["layout_all_width"]);
 124          $pagelayout["layout_all_bgcolor"]         = clean_slweg($_POST["layout_all_bgcolor"],7);
 125          $pagelayout["layout_all_bgimage"]         = clean_slweg($_POST["layout_all_bgimage"]);
 126          $pagelayout["layout_all_class"]           = clean_slweg($_POST["layout_all_class"]);
 127      
 128          $pagelayout["layout_content_width"]       = get_pix_or_percent($_POST["layout_content_width"]);
 129          $pagelayout["layout_content_bgcolor"]     = clean_slweg($_POST["layout_content_bgcolor"],7);
 130          $pagelayout["layout_content_bgimage"]     = clean_slweg($_POST["layout_content_bgimage"]);
 131          $pagelayout["layout_content_class"]       = clean_slweg($_POST["layout_content_class"]);
 132      
 133          $pagelayout["layout_left_width"]          = get_pix_or_percent($_POST["layout_left_width"]);
 134          $pagelayout["layout_left_bgcolor"]        = clean_slweg($_POST["layout_left_bgcolor"],7);
 135          $pagelayout["layout_left_bgimage"]        = clean_slweg($_POST["layout_left_bgimage"]);
 136          $pagelayout["layout_left_class"]          = clean_slweg($_POST["layout_left_class"]);
 137      
 138          $pagelayout["layout_right_width"]         = get_pix_or_percent($_POST["layout_right_width"]);
 139          $pagelayout["layout_right_bgcolor"]       = clean_slweg($_POST["layout_right_bgcolor"],7);
 140          $pagelayout["layout_right_bgimage"]       = clean_slweg($_POST["layout_right_bgimage"]);
 141          $pagelayout["layout_right_class"]         = clean_slweg($_POST["layout_right_class"]);
 142      
 143          $pagelayout["layout_leftspace_width"]     = get_pix_or_percent($_POST["layout_leftspace_width"]);
 144          $pagelayout["layout_leftspace_bgcolor"]   = clean_slweg($_POST["layout_leftspace_bgcolor"],7);
 145          $pagelayout["layout_leftspace_bgimage"]   = clean_slweg($_POST["layout_leftspace_bgimage"]);
 146          $pagelayout["layout_leftspace_class"]     = clean_slweg($_POST["layout_leftspace_class"]);
 147      
 148          $pagelayout["layout_rightspace_width"]    = get_pix_or_percent($_POST["layout_rightspace_width"]);
 149          $pagelayout["layout_rightspace_bgcolor"]  = clean_slweg($_POST["layout_rightspace_bgcolor"],7);
 150          $pagelayout["layout_rightspace_bgimage"]  = clean_slweg($_POST["layout_rightspace_bgimage"]);
 151          $pagelayout["layout_rightspace_class"]    = clean_slweg($_POST["layout_rightspace_class"]);
 152      
 153          $pagelayout["layout_header_height"]       = get_pix_or_percent($_POST["layout_header_height"]);
 154          $pagelayout["layout_header_bgcolor"]      = clean_slweg($_POST["layout_header_bgcolor"],7);
 155          $pagelayout["layout_header_bgimage"]      = clean_slweg($_POST["layout_header_bgimage"]);
 156          $pagelayout["layout_header_class"]        = clean_slweg($_POST["layout_header_class"]);
 157          
 158          $pagelayout["layout_topspace_height"]     = get_pix_or_percent($_POST["layout_topspace_height"]);
 159          $pagelayout["layout_topspace_bgcolor"]    = clean_slweg($_POST["layout_topspace_bgcolor"],7);
 160          $pagelayout["layout_topspace_bgimage"]    = clean_slweg($_POST["layout_topspace_bgimage"]);
 161          $pagelayout["layout_topspace_class"]      = clean_slweg($_POST["layout_topspace_class"]);
 162      
 163          $pagelayout["layout_bottomspace_height"]  = get_pix_or_percent($_POST["layout_bottomspace_height"]);
 164          $pagelayout["layout_bottomspace_bgcolor"] = clean_slweg($_POST["layout_bottomspace_bgcolor"],7);
 165          $pagelayout["layout_bottomspace_bgimage"] = clean_slweg($_POST["layout_bottomspace_bgimage"]);
 166          $pagelayout["layout_bottomspace_class"]   = clean_slweg($_POST["layout_bottomspace_class"]);
 167      
 168          $pagelayout["layout_footer_height"]       = get_pix_or_percent($_POST["layout_footer_height"]);
 169          $pagelayout["layout_footer_bgcolor"]      = clean_slweg($_POST["layout_footer_bgcolor"],7);
 170          $pagelayout["layout_footer_bgimage"]      = clean_slweg($_POST["layout_footer_bgimage"]);
 171          $pagelayout["layout_footer_class"]        = clean_slweg($_POST["layout_footer_class"]);
 172          
 173          $pagelayout["layout_render"]              = intval($_POST["layout_render"]);
 174          $pagelayout["layout_customblocks"]          = strtoupper(clean_slweg($_POST['layout_customblocks']));
 175          
 176          $pagelayout["layout_customblocks"] = str_replace(' ', ',', $pagelayout["layout_customblocks"]);
 177          $pagelayout["layout_customblocks"] = remove_accents($pagelayout["layout_customblocks"]);
 178          $pagelayout["layout_customblocks"] = explode(',', $pagelayout["layout_customblocks"]);
 179          if(is_array($pagelayout["layout_customblocks"]) && count($pagelayout["layout_customblocks"])) {
 180          
 181              $pagelayout["layout_customblocks"] = array_unique($pagelayout["layout_customblocks"]);
 182              $pagelayout["layout_customblocks"] = array_diff($pagelayout["layout_customblocks"], array(''));
 183              // now remove the default pre-defined block name CONTENT and cut to max length of 50
 184              if(is_array($pagelayout["layout_customblocks"]) && count($pagelayout["layout_customblocks"])) {
 185                  foreach($pagelayout["layout_customblocks"] as $key => $value) {
 186                      $value = substr($value, 0, 20);
 187                      $pagelayout["layout_customblocks"][$key] = $value;
 188                      if($value == 'CONTENT' || $value == 'LEFT' || $value == 'RIGHT' || $value == 'HEADER' || $value == 'FOOTER') {
 189                          unset($pagelayout["layout_customblocks"][$key]);
 190                      }
 191                  }
 192              }            
 193              $pagelayout["layout_customblocks"] = implode(', ', $pagelayout["layout_customblocks"]);        
 194          
 195          } else {
 196              $pagelayout["layout_customblocks"] = '';
 197          }
 198      
 199          if($pagelayout["id"]) {
 200          // if ID <> 0 then update pagelayout
 201              $sql =  "UPDATE ".DB_PREPEND."phpwcms_pagelayout SET ".
 202                      "pagelayout_name='".aporeplace($pagelayout["layout_name"])."', ".
 203                      "pagelayout_default=".$pagelayout["layout_default"].", ".
 204                      "pagelayout_var='".aporeplace(serialize($pagelayout))."' ".
 205                      "WHERE pagelayout_id=".$pagelayout["id"];    
 206          } else {
 207          // if ID = 0 then create new pagelayout
 208              $sql =  "INSERT INTO ".DB_PREPEND."phpwcms_pagelayout (".
 209                      "pagelayout_name, pagelayout_default, pagelayout_var) VALUES ('".
 210                      aporeplace($pagelayout["layout_name"])."', ".$pagelayout["layout_default"].", '".
 211                      aporeplace(serialize($pagelayout))."')";
 212          }
 213          // update or insert data entry
 214          mysql_query($sql, $db) or die("error while updating or inserting pagelayout: <br></pre>".wordwrap($sql)."</pre>");
 215          if(!$pagelayout["id"]) $pagelayout["id"] = mysql_insert_id($db);
 216          //now proof for default pagelayout and set
 217          if($pagelayout["layout_default"]) {
 218              mysql_query("UPDATE ".DB_PREPEND."phpwcms_pagelayout SET pagelayout_default=0 ".
 219                          "WHERE pagelayout_id != ".$pagelayout["id"], $db);
 220          }
 221          update_cache();
 222          headerRedirect(PHPWCMS_URL."phpwcms.php?do=admin&p=8&s=".$pagelayout["id"]);
 223      
 224      }
 225      
 226      if($pagelayout["id"]) {
 227      // read the given pagelayout from db
 228          $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_pagelayout WHERE pagelayout_id=".$pagelayout["id"]." LIMIT 1";
 229          if($result = mysql_query($sql, $db)) {
 230              if($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
 231                  unset($pagelayout);
 232                  $pagelayout = unserialize($row["pagelayout_var"]);
 233                  $pagelayout["id"] = $row["pagelayout_id"];
 234                  $pagelayout["layout_default"] = $row["pagelayout_default"];
 235              }
 236              mysql_free_result($result);
 237          }
 238      } else {
 239      
 240          // set default pagelayout information
 241          $pagelayout = array();
 242          
 243          $pagelayout["layout_align"]               = 0;
 244          $pagelayout["layout_type"]                = 0;
 245          $pagelayout["layout_border_top"]          = '';
 246          $pagelayout["layout_border_bottom"]       = '';
 247          $pagelayout["layout_border_left"]         = '';
 248          $pagelayout["layout_border_right"]        = '';
 249          $pagelayout["layout_title"]               = "Pagetitle";
 250          $pagelayout["layout_title_cat"]           = 1;
 251          $pagelayout["layout_title_article"]       = 1;
 252          $pagelayout["layout_bgcolor"]             = "";
 253          $pagelayout["layout_bgimage"]             = "";
 254          $pagelayout["layout_jsonload"]            = "";
 255          $pagelayout["layout_textcolor"]           = "";
 256          $pagelayout["layout_linkcolor"]           = "";
 257          $pagelayout["layout_vcolor"]              = "";
 258          $pagelayout["layout_acolor"]              = "";
 259          $pagelayout["layout_all_width"]           = "";
 260          $pagelayout["layout_all_bgcolor"]         = "";
 261          $pagelayout["layout_all_bgimage"]         = "";
 262          $pagelayout["layout_all_class"]           = "";
 263          $pagelayout["layout_content_width"]       = "";
 264          $pagelayout["layout_content_bgcolor"]     = "";
 265          $pagelayout["layout_content_bgimage"]     = "";
 266          $pagelayout["layout_content_class"]       = "";
 267          $pagelayout["layout_left_width"]          = "";
 268          $pagelayout["layout_left_bgcolor"]        = "";
 269          $pagelayout["layout_left_bgimage"]        = "";
 270          $pagelayout["layout_left_class"]          = "";
 271          $pagelayout["layout_right_width"]         = "";
 272          $pagelayout["layout_right_bgcolor"]       = "";
 273          $pagelayout["layout_right_bgimage"]       = "";
 274          $pagelayout["layout_right_class"]         = "";
 275          $pagelayout["layout_leftspace_width"]     = "";
 276          $pagelayout["layout_leftspace_bgcolor"]   = "";
 277          $pagelayout["layout_leftspace_bgimage"]   = "";
 278          $pagelayout["layout_leftspace_class"]     = "";
 279          $pagelayout["layout_rightspace_width"]    = "";
 280          $pagelayout["layout_rightspace_bgcolor"]  = "";
 281          $pagelayout["layout_rightspace_bgimage"]  = "";
 282          $pagelayout["layout_rightspace_class"]    = "";
 283          $pagelayout["layout_header_height"]       = "";
 284          $pagelayout["layout_header_bgcolor"]      = "";
 285          $pagelayout["layout_header_bgimage"]      = "";
 286          $pagelayout["layout_header_class"]        = "";
 287          $pagelayout["layout_topspace_height"]     = "";
 288          $pagelayout["layout_topspace_bgcolor"]    = "";
 289          $pagelayout["layout_topspace_bgimage"]    = "";
 290          $pagelayout["layout_topspace_class"]      = "";
 291          $pagelayout["layout_bottomspace_height"]  = "";
 292          $pagelayout["layout_bottomspace_bgcolor"] = "";
 293          $pagelayout["layout_bottomspace_bgimage"] = "";
 294          $pagelayout["layout_bottomspace_class"]   = "";
 295          $pagelayout["layout_footer_height"]       = "";
 296          $pagelayout["layout_footer_bgcolor"]      = "";
 297          $pagelayout["layout_footer_bgimage"]      = "";
 298          $pagelayout["layout_footer_class"]        = "";
 299          $pagelayout["layout_render"]                = 0;
 300          $pagelayout["layout_title_order"]            = 4;
 301          $pagelayout["layout_title_spacer"]            = ' | ';
 302          $pagelayout["layout_noborder"]                = 1;
 303          
 304      }
 305  
 306  
 307  ?><form action="phpwcms.php?do=admin&p=8&s=<?php echo $pagelayout["id"] ?>" method="post" name="pagelayout" target="_self"><table width="538" border="0" cellpadding="0" cellspacing="0" summary="">
 308                 <tr><td colspan="2" class="title"><?php echo $BL['be_admin_page_title'] ?></td></tr>
 309              <tr>
 310                  <td width="90"><img src="img/leer.gif" alt="" width="35" height="6"></td>
 311                  <td width="448"><img src="img/leer.gif" alt="" width="1" height="1"></td>
 312              </tr>
 313              <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr>
 314              <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
 315              <tr bgcolor="#F3F5F8">
 316                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_name'] ?>:&nbsp;</td>
 317                <td><table border="0" cellpadding="0" cellspacing="0" summary="">
 318                   <tr>
 319                      <td><input name="layout_name" type="text" class="f11b" id="layout_name" style="width: 350px;" value="<?php echo  isset($pagelayout["layout_name"]) ? html_specialchars($pagelayout["layout_name"]) : '' ?>" size="20" maxlength="150"></td>
 320                      <td>&nbsp;&nbsp;</td>
 321                      <td><input name="layout_default" id="layout_default" type="checkbox" value="1" <?php is_checked(isset($pagelayout["layout_default"]) ? $pagelayout["layout_default"] : 0, 1) ?>></td>
 322                      <td class="v10"><label for="layout_default"><?php echo $BL['be_admin_tmpl_default'] ?></label></td>
 323                   </tr>
 324                </table></td>
 325              </tr>
 326              <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
 327              <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr>
 328              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr>
 329              <tr>
 330                <td align="right" valign="top" class="chatlist"><img src="img/leer.gif" alt="" width="1" height="21"><?php echo $BL['be_admin_page_align']  ?>:&nbsp;</td>
 331                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 332                    <tr><td colspan="9"><img src="img/leer.gif" alt="" width="1" height="7"></td></tr>
 333                    <tr>
 334                      <td rowspan="2"><img src="img/leer.gif" alt="" width="7" height="50"></td>
 335                      <td valign="top"><img src="img/leer.gif" alt="" width="25" height="1"></td>
 336                      <td rowspan="2" valign="top"><label for="layout_align_0"><img src="img/symbole/layout_left.gif" alt="<?php echo $BL['be_admin_page_align_left'] ?>" width="56" height="44" border="0"></label></td>
 337                      <td rowspan="2"><img src="img/leer.gif" alt="" width="15" height="1"></td>
 338                      <td valign="top"><img src="img/leer.gif" alt="" width="25" height="1"></td>
 339                      <td rowspan="2" valign="top"><label for="layout_align_1"><img src="img/symbole/layout_center.gif" alt="<?php echo $BL['be_admin_page_align_center'] ?>" width="56" height="44" border="0"></label></td>
 340                      <td rowspan="2"><img src="img/leer.gif" alt="" width="15" height="1"></td>
 341                      <td><img src="img/leer.gif" alt="" width="25" height="1"></td>
 342                      <td rowspan="2" valign="top"><label for="layout_align_2"><img src="img/symbole/layout_right.gif" alt="<?php echo $BL['be_admin_page_align_right'] ?>" width="56" height="44" border="0"></label></td>
 343                    </tr>
 344                    <tr>
 345                      <td align="center" valign="top"><input name="layout_align" type="radio" id="layout_align_0" value="0" <?php is_checked(0, $pagelayout["layout_align"]); ?>></td>
 346                      <td align="center" valign="top"><input type="radio" name="layout_align" id="layout_align_1" value="1" <?php is_checked(1, $pagelayout["layout_align"]); ?>></td>
 347                      <td align="center" valign="top"><input type="radio" name="layout_align" id="layout_align_2" value="2" <?php is_checked(2, $pagelayout["layout_align"]); ?>></td>
 348                    </tr>
 349                  </table></td>
 350                </tr>
 351              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr>
 352              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 353              <tr>
 354                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_margin']  ?>:&nbsp;</td>
 355                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 356                  <tr>
 357                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_top'] ?>:&nbsp;</td>
 358                    <td><input name="layout_border_top" type="text" class="f10" id="layout_border_top" style="width: 30px;" value="<?php echo $pagelayout["layout_border_top"] ?>" size="3" maxlength="3"></td>
 359                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_bottom'] ?>:&nbsp;</td>
 360                    <td><input name="layout_border_bottom" type="text" class="f10" id="layout_border_bottom" style="width: 30px;" value="<?php echo $pagelayout["layout_border_bottom"] ?>" size="3" maxlength="3"></td>
 361                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_left'] ?>:&nbsp;</td>
 362                    <td><input name="layout_border_left" type="text" class="f10" id="layout_border_left" style="width: 30px;" value="<?php echo $pagelayout["layout_border_left"] ?>" size="3" maxlength="3"></td>
 363                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_right'] ?>:&nbsp;</td>
 364                    <td><input name="layout_border_right" type="text" class="f10" id="layout_border_right" style="width: 30px;" value="<?php echo $pagelayout["layout_border_right"] ?>" size="3" maxlength="3"></td>
 365                    <td class="v10">&nbsp;px&nbsp;&nbsp;</td>
 366                    <td><input name="layout_noborder" id="layout_noborder" type="checkbox" value="1" <?php is_checked(1, isset($pagelayout["layout_noborder"]) ? $pagelayout["layout_noborder"] : 0) ?>></td>
 367                    <td class="v10"><label for="layout_noborder"><?php echo $BL['be_admin_page_disable'] ?></label></td>
 368                  </tr>
 369                </table></td>
 370                </tr>
 371              <tr>
 372                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_bg'] ?>:&nbsp;</td>
 373                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 374                  <tr>
 375                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 376                    <td><input name="layout_bgcolor" type="text" class="f10" id="layout_bgcolor2" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_bgcolor"]); ?>" size="7" maxlength="7"></td>
 377                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 378                    <td><input name="layout_bgimage" type="text" class="f10" id="layout_bgimage" style="width: 270px;" value="<?php echo html_specialchars($pagelayout["layout_bgimage"]); ?>" size="20"></td>
 379                    <td><img src="img/leer.gif" alt="" width="1" height="20"></td>
 380                  </tr>
 381                </table></td>
 382              </tr>
 383               <tr>
 384                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 385                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 386                  <tr>
 387                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_text'] ?>:&nbsp;</td>
 388                    <td><input name="layout_textcolor" type="text" class="f10" id="layout_textcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_textcolor"]); ?>" size="7" maxlength="7"></td>
 389                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_link'] ?>:&nbsp;</td>
 390                    <td><input name="layout_linkcolor" type="text" class="f10" id="layout_linkcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_linkcolor"]); ?>" size="7" maxlength="7"></td>
 391                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_visited'] ?>:&nbsp;</td>
 392                    <td><input name="layout_vcolor" type="text" class="f10" id="layout_vcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_vcolor"]); ?>" size="7" maxlength="7"></td>
 393                    <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_ftptakeover_active'] ?>:&nbsp;</td>
 394                    <td><input name="layout_acolor" type="text" class="f10" id="layout_acolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_acolor"]); ?>" size="7" maxlength="7"></td>
 395                    <td><img src="img/leer.gif" alt="" width="1" height="20"></td>
 396                  </tr>
 397                </table></td>
 398               </tr>
 399               <tr>
 400                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_js'] ?>:&nbsp;</td>
 401                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 402                    <tr>
 403                      <td class="v10">&nbsp;&nbsp;onload:&nbsp;</td>
 404                         <td><input name="layout_jsonload" type="text" class="f10" id="layout_jsonload" style="width: 382px;" value="<?php echo html_specialchars($pagelayout["layout_jsonload"]); ?>" size="20"></td>
 405                        <td><img src="img/leer.gif" alt="" width="1" height="20"></td>
 406                  </tr>
 407                 </table></td>
 408               </tr>
 409               <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 410              <tr><td colspan="2" class="chatlist"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr>
 411              <tr>
 412                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_pagetitle'] ?>:&nbsp;</td>
 413                <td><input name="layout_title" type="text" class="f11b" id="layout_title" style="width: 400px;" value="<?php echo html_specialchars($pagelayout["layout_title"]); ?>" size="20" maxlength="100"></td>
 414              </tr>
 415              <tr><td colspan="2" class="chatlist"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 416              <tr>
 417                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_addtotitle'] ?>:&nbsp;</td>
 418              <td><table border="0" cellpadding="0" cellspacing="0" summary="">
 419                  <tr>
 420                    <td><select name="layout_title_order" id="layout_title_order" class="v11">
 421      
 422      <?php 
 423      
 424      if(empty($pagelayout["layout_title_order"])) $pagelayout["layout_title_order"] = 0;
 425      if(empty($pagelayout["layout_title_spacer"])) $pagelayout["layout_title_spacer"] = ' | ';
 426      
 427      
 428      ?>
 429      <option value="0"<?php is_selected(0, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_category'].', '.$BL['be_admin_page_articlename'] ?></option>
 430      <option value="1"<?php is_selected(1, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_articlename'].', '.$BL['be_admin_page_category'] ?></option>
 431      <option value="2"<?php is_selected(2, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_category'].', '.$BL['be_admin_page_articlename'].', '.$BL['be_admin_page_pagetitle'] ?></option>
 432      <option value="3"<?php is_selected(3, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_category'].', '.$BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_articlename'] ?></option>
 433      <option value="4"<?php is_selected(4, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_articlename'].', '.$BL['be_admin_page_category'].', '.$BL['be_admin_page_pagetitle'] ?></option>
 434      <option value="5"<?php is_selected(5, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_articlename'].', '.$BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_category'] ?></option>
 435  
 436      <option value="6"<?php is_selected(6, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_category'] ?></option>
 437      <option value="7"<?php is_selected(7, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_pagetitle'].', '.$BL['be_admin_page_articlename'] ?></option>
 438      <option value="8"<?php is_selected(8, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_category'].', '.$BL['be_admin_page_articlename'] ?></option>
 439      <option value="9"<?php is_selected(9, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_category'].', '.$BL['be_admin_page_pagetitle'] ?></option>
 440      <option value="10"<?php is_selected(10, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_articlename'].', '.$BL['be_admin_page_category'] ?></option>
 441      <option value="11"<?php is_selected(11, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_articlename'].', '.$BL['be_admin_page_pagetitle'] ?></option>    
 442  
 443      <option value="12"<?php is_selected(12, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_pagetitle'] ?></option>
 444      <option value="13"<?php is_selected(13, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_category'] ?></option>
 445      <option value="14"<?php is_selected(14, $pagelayout["layout_title_order"]) ?>><?php echo $BL['be_admin_page_articlename'] ?></option>
 446  
 447                    </select></td>
 448                    
 449                    <td align="right" class="chatlist">&nbsp;&nbsp;<?php echo $BL['be_cnt_field']['break'] ?>:&nbsp;</td>
 450                    <td><input name="layout_title_spacer" type="text" class="v11 width40" id="layout_title_spacer" value="<?php echo html_specialchars($pagelayout["layout_title_spacer"]); ?>" size="20" maxlength="100"></td>
 451              
 452                  </tr>
 453                </table></td>
 454              </tr>
 455          
 456              
 457              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr>
 458              <tr>
 459                <td align="right" valign="top" class="chatlist"><img src="img/leer.gif" alt="" width="1" height="21"><?php echo $BL['be_admin_page_blocks'] ?>:&nbsp;</td>
 460                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 461                    <tr><td colspan="12"><img src="img/leer.gif" alt="" width="1" height="7"></td></tr>
 462                    <tr>
 463                      <td rowspan="2"><img src="img/leer.gif" alt="" width="7" height="50"></td>
 464                      <td valign="top"><img src="img/leer.gif" alt="" width="25" height="1"></td>
 465                      <td rowspan="2" valign="top"><label for="layout_type_0"><img src="img/symbole/3_column_layout.gif" alt="<?php echo $BL['be_admin_page_col1'] ?>" width="39" height="44" border="0"></label></td>
 466                      <td rowspan="2"><img src="img/leer.gif" alt="" width="32" height="1"></td>
 467                      <td valign="top"><img src="img/leer.gif" alt="" width="25" height="1"></td>
 468                      <td rowspan="2" valign="top"><label for="layout_type_1"><img src="img/symbole/2_column_layout.gif" alt="<?php echo $BL['be_admin_page_col2'] ?>" width="39" height="44" border="0"></label></td>
 469                      <td rowspan="2"><img src="img/leer.gif" alt="" width="32" height="1"></td>
 470                      <td><img src="img/leer.gif" alt="" width="25" height="1"></td>
 471                      <td rowspan="2" valign="top"><label for="layout_type_2"><img src="img/symbole/4_column_layout.gif" alt="<?php echo $BL['be_admin_page_col3'] ?>" width="39" height="44" border="0"></label></td>
 472                      <td rowspan="2"><img src="img/leer.gif" alt="" width="32" height="1"></td>
 473                      <td valign="top"><img src="img/leer.gif" alt="" width="25" height="1"></td>
 474                      <td rowspan="2" valign="top"><label for="layout_type_3"><img src="img/symbole/1_column_layout.gif" alt="<?php echo $BL['be_admin_page_col4'] ?>" width="39" height="44" border="0"></label></td>
 475                    </tr>
 476                    <tr>
 477                      <td align="center" valign="top"><input name="layout_type" type="radio" id="layout_type_0" value="0" <?php is_checked(0, $pagelayout["layout_type"]); ?>></td>
 478                      <td align="center" valign="top"><input type="radio" name="layout_type" id="layout_type_1" value="1" <?php is_checked(1, $pagelayout["layout_type"]); ?>></td>
 479                      <td align="center" valign="top"><input type="radio" name="layout_type" id="layout_type_2" value="2" <?php is_checked(2, $pagelayout["layout_type"]); ?>></td>
 480                      <td align="center" valign="top"><input type="radio" name="layout_type" id="layout_type_3" value="3" <?php is_checked(3, $pagelayout["layout_type"]); ?>></td>
 481                    </tr>
 482                  </table></td>
 483              </tr>
 484              <tr>
 485                <td align="right" class="chatlist">&nbsp;</td>
 486                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 487                <tr>
 488                <td class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_customblocks'] ?>:&nbsp;</td>
 489                <td><input name="layout_customblocks" type="text" class="f10" id="layout_customblocks" style="width: 325px;" value="<?php echo  isset($pagelayout["layout_customblocks"]) ? html_specialchars($pagelayout["layout_customblocks"]) : '' ?>" size="20"></td>
 490  
 491                </tr>
 492                </table></td>
 493              </tr>
 494              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="5"></td></tr>
 495              
 496              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 497  
 498              <tr>
 499                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_render'] ?>:&nbsp;</td>
 500                <td bgcolor="#E6EAED"><table border="0" cellpadding="0" cellspacing="0" summary="">
 501                      <tr>
 502                          <td><img src="img/leer.gif" alt="" width="7" height="7"></td>
 503                          <td><img src="img/leer.gif" alt="" width="25" height="1"></td>
 504                          <td><img src="img/leer.gif" alt="" width="1" height="1"></td>
 505                          <td><img src="img/leer.gif" alt="" width="25" height="1"></td>
 506                          <td><img src="img/leer.gif" alt="" width="1" height="1"></td>
 507                          <td><img src="img/leer.gif" alt="" width="25" height="1"></td>
 508                          <td><img src="img/leer.gif" alt="" width="1" height="1"></td>
 509                        </tr>
 510                      <tr>
 511                          <td>&nbsp;</td>
 512                          <td align="center"><input name="layout_render" type="radio" id="layout_render_0" value="0" <?php is_checked(0, $pagelayout["layout_render"]); ?>></td>
 513                          <td><label for="layout_render_0"><?php echo $BL['be_admin_page_table'] ?></label>&nbsp;&nbsp;</td>
 514                          <td align="center"><input name="layout_render" type="radio" id="layout_render_1" value="1" <?php is_checked(1, $pagelayout["layout_render"]); ?>></td>
 515                          <td><label for="layout_render_1"><?php echo $BL['be_admin_page_div'] ?></label>&nbsp;&nbsp;</td>
 516                          <td align="center"><input name="layout_render" type="radio" id="layout_render_2" value="2" <?php is_checked(2, $pagelayout["layout_render"]); ?>></td>
 517                          <td><label for="layout_render_2"><?php echo $BL['be_admin_page_custom'].' <span class="v09">('.$BL['be_admin_page_custominfo'].')</span>' ?></label></td>
 518                        </tr>
 519                        <tr><td colspan="7"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
 520                  </table></td>
 521              </tr>
 522              
 523              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 524              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 525              <tr>
 526                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_allblocks'] ?>:&nbsp;</td>
 527                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 528                    <tr>
 529                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 530                      <td width="35"><input name="layout_all_width" type="text" class="f10" id="layout_all_width" style="width: 35px;" value="<?php echo $pagelayout["layout_all_width"] ?>" size="4" maxlength="4"></td>
 531                      <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 532                      <td width="55"><input name="layout_all_bgcolor" type="text" class="f10" id="layout_all_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_all_bgcolor"]); ?>" size="7" maxlength="7"></td>
 533                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 534                      <td width="100"><input name="layout_all_bgimage" type="text" class="f10" id="layout_all_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_all_bgimage"]); ?>" size="7"></td>
 535                      <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 536                      <td width="55"><input name="layout_all_class" type="text" class="f10" id="layout_all_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_all_class"]); ?>" size="7"></td>
 537                      <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 538                    </tr>
 539                  </table></td>
 540                </tr>
 541              <tr>
 542                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_left'] ?>:&nbsp;</td>
 543                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 544                  <tr>
 545                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 546                    <td width="35"><input name="layout_left_width" type="text" class="f10" id="layout_left_width" style="width: 35px;" value="<?php echo $pagelayout["layout_left_width"] ?>" size="4" maxlength="4"></td>
 547                    <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 548                    <td width="55"><input name="layout_left_bgcolor" type="text" class="f10" id="layout_left_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_left_bgcolor"]); ?>" size="7" maxlength="7"></td>
 549                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 550                    <td width="100"><input name="layout_left_bgimage" type="text" class="f10" id="layout_left_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_left_bgimage"]); ?>" size="7"></td>
 551                    <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 552                    <td width="55"><input name="layout_left_class" type="text" class="f10" id="layout_left_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_left_class"]); ?>" size="7"></td>
 553                    <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 554                  </tr>
 555                </table></td>
 556                </tr>
 557              <tr>
 558                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_leftspace'] ?>:&nbsp;</td>
 559                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 560                  <tr>
 561                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 562                    <td width="35"><input name="layout_leftspace_width" type="text" class="f10" id="layout_leftspace_width" style="width: 35px;" value="<?php echo $pagelayout["layout_leftspace_width"] ?>" size="4" maxlength="4"></td>
 563                    <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 564                    <td width="55"><input name="layout_leftspace_bgcolor" type="text" class="f10" id="layout_leftspace_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_leftspace_bgcolor"]); ?>" size="7" maxlength="7"></td>
 565                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 566                    <td width="100"><input name="layout_leftspace_bgimage" type="text" class="f10" id="layout_leftspace_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_leftspace_bgimage"]); ?>" size="7"></td>
 567                    <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 568                    <td width="55"><input name="layout_leftspace_class" type="text" class="f10" id="layout_leftspace_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_leftspace_class"]); ?>" size="7"></td>
 569                    <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 570                  </tr>
 571                </table></td>
 572                </tr>
 573              <tr>
 574                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_main']."&nbsp;[".$phpwcms["content_width"]?>]:&nbsp;</td>
 575                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 576                  <tr>
 577                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 578                    <td width="35"><input name="layout_content_width" type="text" class="f10" id="layout_content_width" style="width: 35px;" value="<?php echo $pagelayout["layout_content_width"] ?>" size="4" maxlength="4"></td>
 579                    <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 580                    <td width="55"><input name="layout_content_bgcolor" type="text" class="f10" id="layout_content_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_content_bgcolor"]); ?>" size="7" maxlength="7"></td>
 581                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 582                    <td width="100"><input name="layout_content_bgimage" type="text" class="f10" id="layout_content_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_content_bgimage"]); ?>" size="7"></td>
 583                    <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 584                    <td width="55"><input name="layout_content_class" type="text" class="f10" id="layout_content_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_content_class"]); ?>" size="7"></td>
 585                    <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 586                  </tr>
 587                </table></td>
 588                </tr>
 589              <tr>
 590                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_rightspace'] ?>:&nbsp;</td>
 591                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 592                  <tr>
 593                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 594                    <td width="35"><input name="layout_rightspace_width" type="text" class="f10" id="layout_rightspace_width" style="width: 35px;" value="<?php echo $pagelayout["layout_rightspace_width"] ?>" size="4" maxlength="4"></td>
 595                    <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 596                    <td width="55"><input name="layout_rightspace_bgcolor" type="text" class="f10" id="layout_rightspace_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_rightspace_bgcolor"]); ?>" size="7" maxlength="7"></td>
 597                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 598                    <td width="100"><input name="layout_rightspace_bgimage" type="text" class="f10" id="layout_rightspace_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_rightspace_bgimage"]); ?>" size="7"></td>
 599                    <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 600                    <td width="55"><input name="layout_rightspace_class" type="text" class="f10" id="layout_rightspace_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_rightspace_class"]); ?>" size="7"></td>
 601                    <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 602                  </tr>
 603                </table></td>
 604                </tr>
 605              <tr>
 606                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_right'] ?>:&nbsp;</td>
 607                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 608                  <tr>
 609                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_width'] ?>:&nbsp;</td>
 610                    <td width="35"><input name="layout_right_width" type="text" class="f10" id="layout_right_width" style="width: 35px;" value="<?php echo $pagelayout["layout_right_width"] ?>" size="4" maxlength="4"></td>
 611                    <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 612                    <td width="55"><input name="layout_right_bgcolor" type="text" class="f10" id="layout_right_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_right_bgcolor"]); ?>" size="7" maxlength="7"></td>
 613                    <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 614                    <td width="100"><input name="layout_right_bgimage" type="text" class="f10" id="layout_right_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_right_bgimage"]); ?>" size="7"></td>
 615                    <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 616                    <td width="55"><input name="layout_right_class" type="text" class="f10" id="layout_right_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_right_class"]); ?>" size="7"></td>
 617                    <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 618                  </tr>
 619                </table></td>
 620                </tr>
 621              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 622              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 623              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 624              <tr>
 625                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_header'] ?>:&nbsp;</td>
 626                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 627                    <tr>
 628                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_height'] ?>:&nbsp;</td>
 629                      <td width="35"><input name="layout_header_height" type="text" class="f10" id="layout_header_height" style="width: 35px;" value="<?php echo $pagelayout["layout_header_height"] ?>" size="4" maxlength="4"></td>
 630                      <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 631                      <td width="55"><input name="layout_header_bgcolor" type="text" class="f10" id="layout_header_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_header_bgcolor"]); ?>" size="7" maxlength="7"></td>
 632                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 633                      <td width="100"><input name="layout_header_bgimage" type="text" class="f10" id="layout_header_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_header_bgimage"]); ?>" size="7"></td>
 634                      <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 635                      <td width="55"><input name="layout_header_class" type="text" class="f10" id="layout_header_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_header_class"]); ?>" size="7"></td>
 636                      <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 637                    </tr>
 638                  </table></td>
 639              </tr>
 640              <tr>
 641                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_topspace'] ?>:&nbsp;</td>
 642                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 643                    <tr>
 644                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_height'] ?>:&nbsp;</td>
 645                      <td width="35"><input name="layout_topspace_height" type="text" class="f10" id="layout_topspace_height" style="width: 35px;" value="<?php echo $pagelayout["layout_topspace_height"] ?>" size="4" maxlength="4"></td>
 646                      <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 647                      <td width="55"><input name="layout_topspace_bgcolor" type="text" class="f10" id="layout_topspace_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_topspace_bgcolor"]); ?>" size="7" maxlength="7"></td>
 648                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 649                      <td width="100"><input name="layout_topspace_bgimage" type="text" class="f10" id="layout_topspace_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_topspace_bgimage"]); ?>" size="7"></td>
 650                      <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 651                      <td width="55"><input name="layout_topspace_class" type="text" class="f10" id="layout_topspace_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_topspace_class"]); ?>" size="7"></td>
 652                      <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 653                    </tr>
 654                  </table></td>
 655                </tr>
 656                <tr>
 657                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_bottomspace'] ?>:&nbsp;</td>
 658                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 659                    <tr>
 660                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_height'] ?>:&nbsp;</td>
 661                      <td width="35"><input name="layout_bottomspace_height" type="text" class="f10" id="layout_bottomspace_height" style="width: 35px;" value="<?php echo $pagelayout["layout_bottomspace_height"] ?>" size="4" maxlength="4"></td>
 662                      <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 663                      <td width="55"><input name="layout_bottomspace_bgcolor" type="text" class="f10" id="layout_bottomspace_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_bottomspace_bgcolor"]); ?>" size="7" maxlength="7"></td>
 664                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 665                      <td width="100"><input name="layout_bottomspace_bgimage" type="text" class="f10" id="layout_bottomspace_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_bottomspace_bgimage"]); ?>" size="7"></td>
 666                      <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 667                      <td width="55"><input name="layout_bottomspace_class" type="text" class="f10" id="layout_bottomspace_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_bottomspace_class"]); ?>" size="7"></td>
 668                      <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 669                    </tr>
 670                  </table></td>
 671              </tr>
 672              <tr>
 673                <td align="right" class="chatlist"><?php echo $BL['be_admin_page_footer'] ?>:&nbsp;</td>
 674                <td bgcolor="#E6EAED"><table width="440" border="0" cellpadding="0" cellspacing="0" summary="">
 675                    <tr>
 676                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_height'] ?>:&nbsp;</td>
 677                      <td width="35"><input name="layout_footer_height" type="text" class="f10" id="layout_footer_height" style="width: 35px;" value="<?php echo $pagelayout["layout_footer_height"] ?>" size="4" maxlength="4"></td>
 678                      <td width="43" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_color'] ?>:&nbsp;</td>
 679                      <td width="55"><input name="layout_footer_bgcolor" type="text" class="f10" id="layout_footer_bgcolor" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_footer_bgcolor"]); ?>" size="7" maxlength="7"></td>
 680                      <td width="53" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_image'] ?>:&nbsp;</td>
 681                      <td width="100"><input name="layout_footer_bgimage" type="text" class="f10" id="layout_footer_bgimage" style="width: 100px;" value="<?php echo html_specialchars($pagelayout["layout_footer_bgimage"]); ?>" size="7"></td>
 682                      <td width="45" class="v10">&nbsp;&nbsp;<?php echo $BL['be_admin_page_class'] ?>:&nbsp;</td>
 683                      <td width="55"><input name="layout_footer_class" type="text" class="f10" id="layout_footer_class" style="width: 55px;" value="<?php echo html_specialchars($pagelayout["layout_footer_class"]); ?>" size="7"></td>
 684                      <td width="1"><img src="img/leer.gif" alt="" width="1" height="20"></td>
 685                    </tr>
 686                  </table></td>
 687              </tr>
 688              <tr><td><img src="img/leer.gif" alt="" width="1" height="1"></td><td bgcolor="#E6EAED"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr>
 689  
 690              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="20"></td></tr>
 691              <tr>
 692                  <td><img src="img/leer.gif" alt="" width="90" height="1"><input name="layout_id" type="hidden" value="<?php echo $pagelayout["id"] ?>"></td>
 693                  <td><input name="Submit" type="submit" class="button10" value="<?php echo $BL['be_admin_page_button'] ?>">&nbsp;&nbsp;<input type="button" class="button10" value="<?php echo $BL['be_admin_struct_close'] ?>" onclick="location.href='phpwcms.php?do=admin&p=8';"></td>
 694              </tr>
 695              <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="15"></td></tr>
 696  </table></form><?php
 697  }
 698  ?>


Generated: Wed Dec 30 05:55:15 2009 Cross-referenced by PHPXref 0.7