<?php
/*
###################################################################################
  Bigware Shop 2.3
  Release Datum: 23.08.2015
  
  Bigware Shop
  http://www.bigware.de

  Copyright (c) 2015 Bigware LTD
  (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
  (c) 2015	Bigware LTD

  Copyrightvermerke duerfen nicht entfernt werden.
  ------------------------------------------------------------------------
  Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
  der GNU General Public License, wie von der Free Software Foundation
  veroeffentlicht, weitergeben und/oder modifizieren, entweder gemaess Version 2 
  der Lizenz oder (nach Ihrer Option) jeder spaeteren Version.
  Die Veroeffentlichung dieses Programms erfolgt in der Hoffnung, dass es Ihnen
  von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne die
  implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FUER EINEN
  BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License.
  
  Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
  Programm erhalten haben. Falls nicht, schreiben Sie an die Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

  Infos:
  ------------------------------------------------------------------------
  Der Bigware Shop wurde vor vielen Jahren bereits aus dem bekannten Shopsystem osCommerce
  weiter- und neuentwickelt.
  Der Bigware Shop legt im hohen Masse Wert auf Bedienerfreundlichkeit, beinhaltet eine leichte
  Installation, viele neue professionelle Werkzeuge und zeichnet sich aus durch eine grosse 
  Community, die bei Problemen weiterhelfen kann.
  
  Der Bigware Shop ist auf jedem System lauffaehig, welches eine PHP Umgebung
  (ab PHP 4.1.3) und mySQL zur Verfuegung stellt und auf Linux basiert.
 
  Hilfe erhalten Sie im Forum auf www.bigware.de 
  
  -----------------------------------------------------------------------
  
 ##################################################################################




*/
?>
<?php
  require('load_this/load_bigware_11.php');
  if ($flag_post=="1")
  {
  	$default_land = $land;	
    go_db_query("UPDATE frame_config SET set_it_up_show_value = '" . $set_it_up_show_value . "', set_it_up_sort_value = '" . $set_it_up_sort_value . "', set_it_up_seite_value = '" . $set_it_up_seite_value . "' WHERE set_it_up_id = '$set_it_up_id'");
  }
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<script language="javascript" src="load_this/menu.js"></script>
<link rel="stylesheet" type="text/css" href="load_this/style.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_9.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
  <tr>
    <td width="<?php echo FRAME_WIDTH; ?>" valign="top"></td>
<!-- body_text //-->
    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageGeneralsign"><?php echo ABOVE_TITLE; ?></td>
            <td class="pageGeneralsign" align="right"><?php echo go_fetch_dividing_up('tranparentes.gif', ABOVE_PICTURE_WIDTH, ABOVE_PICTURE_HEIGHT); ?></td>
						<td valign="bottom" align="right"><a href="main_bigware_86.php"><img src="picture/button_newframe.gif" alt="Neue Box" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td class="pageGeneralsign">
    <?php echo TEXT_LEFT_BOXES; ?>   
<!-- linke frameen -->        
        <table cellpadding="5" border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" cellpadding="5" cellspacing="1" style="border-collapse: collapse" width="100%" id="AutoNumber1">
              <tr class="tbUPCountData">
                <td class="tbUPDataInside"><?php echo TEXT_NAME_OF_BOX; ?></td>
                <td class="tbUPDataInside" align="center"><?php echo TEXT_VISIBLE_BOX; ?></td>
                <td class="tbUPDataInside" align="center"><?php echo TEXT_SORT_ORDER; ?></td>
                <td class="tbUPDataInside" align="right"><?php echo TEXT_PAGE; ?></td>		
                <td class="tbUPDataInside" align="right"><?php echo TEXT_ACTION; ?></td>
              </tr>
<?php
$id = go_db_query("SELECT * FROM frame_config where set_it_up_seite_value = 'l' AND (language = '$language' OR language = '') ORDER BY set_it_up_sort_value ASC");

while ($werte = go_db_fetch_array($id)){
	$set_it_up_show_value = $werte["set_it_up_show_value"];
	$set_it_up_name_titel = $werte["set_it_up_name_titel"];	
	$set_it_up_sort_value = $werte["set_it_up_sort_value"];		
	$set_it_up_seite_value = $werte["set_it_up_seite_value"];
	$set_it_up_name_value = $werte["set_it_up_name_value"];
	$set_it_up_id = $werte["set_it_up_id"];
?>
		<tr class="tbCountData"><form method="POST" action="main_bigware_46.php">			
			<input type="hidden" name="flag_post" value="1">
		<input type="hidden" name="set_it_up_id" value="<?php echo $set_it_up_id; ?>">
                <td class="TbInsideData"><?php 
                	if ($set_it_up_name_value != 'new'){
                		echo constant($set_it_up_name_titel); 
                	}
                	else{
                		echo $set_it_up_name_titel;
                	}
                	
                	?></td>
                <td class="TbInsideData" align="center">
                <?php 
                if ($set_it_up_show_value ==1){
			$show_value_selected = " selected";
			$show_value_non_selected = "";
                }
                elseif ($set_it_up_show_value ==0){   	
                	$show_value_selected = "";
                	$show_value_non_selected = " selected";
                }
                
                ?>
                <select size="1" name="set_it_up_show_value">
		  <option<?php echo $show_value_selected; ?> value="1"><?php echo TEXT_SMALL_YES; ?></option>
		  <option<?php echo $show_value_non_selected; ?> value="0"><?php echo TEXT_SMALL_NO; ?></option>
		  </select>	                
                </td>
                <td class="TbInsideData" align="center"><?php echo TEXT_POSITION; ?> <input size="2" type="text" name="set_it_up_sort_value" value="<?php echo $set_it_up_sort_value; ?>"></td>
                <td class="TbInsideData" align="right">
                
                <?php 
                if ($set_it_up_seite_value =="l"){
			$seite_value_l_selected = " selected";
			$seite_value_r_selected = "";
                }
                elseif ($set_it_up_seite_value =="r"){   	
                	$seite_value_l_selected = "";
                	$seite_value_r_selected = " selected";
                }
                
                ?>                
                <select size="1" name="set_it_up_seite_value">
		  <option<?php echo $seite_value_l_selected; ?> value="l"><?php echo TEXT_SMALL_LEFT; ?></option>
		  <option<?php echo $seite_value_r_selected; ?> value="r"><?php echo TEXT_SMALL_RIGHT; ?></option>
		  </select>                
                
                </td>
                <td class="TbInsideData" align="right">
								 <table>
								  <tr>
									 <td>
                                    <?php if ($set_it_up_name_value=='new') { ?> <a href="main_bigware_18.php?set_it_up_id=<?php echo $set_it_up_id;?>"><img src="picture/button_changeframe.gif" alt="<?php echo TEXT_CHANGE; ?>" border=0--></a>&nbsp;<a href="main_bigware_31.php?set_it_up_id=<?php echo $set_it_up_id;?>"><img src="picture/button_deleteframe.gif" alt="<?php echo TEXT_DELETE; ?>" border=0></a><?php } ?>
                                     </td>
									 <td>
									 	<?php echo go_picture_submit('button_update.gif', PICTURE_UPDATE); ?>
									 </td>
									</tr>
								 </table>	 	
							 </td>
              </tr>
		</form>
<?php
}
?>
              <tr>
                <td colspan="5"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td class="smallText" valign="top"></td>
                    <td class="smallText" align="right"></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            
            </td>
<?php
?>
</td>
          </tr>
        </table>
        
 
 <?php echo TEXT_RIGHT_BOXES; ?>
 
        
<!-- rechte frameen -->        
        <table cellpadding="5" border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" cellpadding="5" cellspacing="1" style="border-collapse: collapse" width="100%" id="AutoNumber1">
              <tr class="tbUPCountData">
                <td class="tbUPDataInside"><?php echo TEXT_NAME_OF_BOX; ?></td>
                <td class="tbUPDataInside" align="center"><?php echo TEXT_VISIBLE_BOX; ?></td>
                <td class="tbUPDataInside" align="center"><?php echo TEXT_SORT_ORDER; ?></td>
                <td class="tbUPDataInside" align="right"><?php echo TEXT_PAGE; ?></td>		
                <td class="tbUPDataInside" align="right"><?php echo TEXT_ACTION; ?></td>
              </tr>
<?php

$id = go_db_query("SELECT * FROM frame_config where set_it_up_seite_value = 'r' AND (language = '$language' OR language = '') ORDER BY set_it_up_sort_value ASC");

while ($werte = go_db_fetch_array($id)){
	$set_it_up_show_value = $werte["set_it_up_show_value"];
	$set_it_up_name_titel = $werte["set_it_up_name_titel"];	
	$set_it_up_sort_value = $werte["set_it_up_sort_value"];		
	$set_it_up_seite_value = $werte["set_it_up_seite_value"];
	$set_it_up_name_value = $werte["set_it_up_name_value"];
	$set_it_up_id = $werte["set_it_up_id"];
?>
		<tr class="tbCountData"><form method="POST" action="main_bigware_46.php">
			<input type="hidden" name="flag_post" value="1">
		<input type="hidden" name="set_it_up_id" value="<?php echo $set_it_up_id; ?>">
                <td class="TbInsideData"><?php 
                	if ($set_it_up_name_value != 'new'){
                		echo constant($set_it_up_name_titel); 
                	}
                	else{
                		echo $set_it_up_name_titel;
                	}
                	
                	?></td>
                <td class="TbInsideData" align="center">
                <?php 
                if ($set_it_up_show_value ==1){
			$show_value_selected = " selected";
			$show_value_non_selected = "";
                }
                elseif ($set_it_up_show_value ==0){   	
                	$show_value_selected = "";
                	$show_value_non_selected = " selected";
                }
                
                ?>
                <select size="1" name="set_it_up_show_value">
		  <option<?php echo $show_value_selected; ?> value="1"><?php echo TEXT_SMALL_YES; ?></option>
		  <option<?php echo $show_value_non_selected; ?> value="0"><?php echo TEXT_SMALL_NO; ?></option>
		  </select>	                
                </td>
                <td class="TbInsideData" align="center"><?php echo TEXT_POSITION; ?> <input size="2" type="text" name="set_it_up_sort_value" value="<?php echo $set_it_up_sort_value; ?>"></td>
                <td class="TbInsideData" align="right">
                
                <?php 
                if ($set_it_up_seite_value =="l"){
			$seite_value_l_selected = " selected";
			$seite_value_r_selected = "";
                }
                elseif ($set_it_up_seite_value =="r"){   	
                	$seite_value_l_selected = "";
                	$seite_value_r_selected = " selected";
                }
                
                ?>                
                <select size="1" name="set_it_up_seite_value">
		  <option<?php echo $seite_value_l_selected; ?> value="l"><?php echo TEXT_SMALL_LEFT; ?></option>
		  <option<?php echo $seite_value_r_selected; ?> value="r"><?php echo TEXT_SMALL_RIGHT; ?></option>
		  </select>                
                
                </td>
                <td class="TbInsideData" align="right">
								 <table>
								  <tr>
									 <td>
								   <?php if ($set_it_up_name_value=='new') { ?> <a href="main_bigware_18.php?set_it_up_id=<?php echo $set_it_up_id;?>"><img src="picture/button_changeframe.gif" alt="<?php echo TEXT_CHANGE; ?>" border=0></a>&nbsp;<a href="main_bigware_31.php?set_it_up_id=<?php echo $set_it_up_id;?>"><img src="picture/button_deleteframe.gif" alt="<?php echo TEXT_DELETE; ?>" border=0></a><?php } ?>
									 </td>
									 <td>
									  <?php echo go_picture_submit('button_update.gif', PICTURE_UPDATE); ?>
									 </td>
									</tr>
								 </table>	  	
								</td>
              </tr>
		</form>
<?php
}
?>
              <tr>
                <td colspan="5"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td class="smallText" valign="top"></td>
                    <td class="smallText" align="right"></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            
            </td>
<?php
?>
</td>
          </tr>
        </table> 
 
        
        
        </td>
      </tr>
    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_7.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_6.php'); ?>