<?php

/*
  Copyright (c) 2002 - 2006 SystemsManager.Net

  SystemsManager Technologies
  oscMall System Version 4
  http://www.systemsmanager.net
  
  Portions Copyright (c) 2002 osCommerce
  
  This source file is subject to version 2.0 of the GPL license,   
  that is bundled with this package in the file LICENSE. If you
  did not receive a copy of the oscMall System license and are unable 
  to obtain it through the world-wide-web, please send a note to    
  license@systemsmanager.net so we can mail you a copy immediately.
*/
global $page_name;
$breadcrumb->add(NAVBAR_TITLE_1);
$breadcrumb->add(NAVBAR_TITLE_2);
if (sizeof($navigation->snapshot) > 0) {
    $origin_href = smn_href_link($navigation->snapshot['page'], smn_array_to_string($navigation->snapshot['get'], array(smn_session_name())), $navigation->snapshot['mode']);
    $navigation->clear_snapshot();
} else {
    $origin_href = smn_href_link(FILENAME_DEFAULT);
}
示例#2
0
          <tr>
            <td class="main"><?php 
    echo ENTRY_MESSAGE;
    ?>
<br><?php 
    echo smn_draw_textarea_field('message', 'soft', 50, 15, stripslashes($_POST['message']));
    ?>
</td>
          </tr>
        </table>
        <table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
<?php 
    $back = sizeof($navigation->path) - 2;
    ?>
            <td class="main"><?php 
    echo '<a href="' . smn_href_link($navigation->path[$back]['page'], smn_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . smn_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>';
    ?>
</td>
            <td class="main" align="right"><?php 
    echo smn_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);
    ?>
</td>
          </tr>
        </table></form></td>
      </tr>
<?php 
}
?>
    </table>
    <!-- body_text_eof //-->
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php 
    echo smn_draw_separator('pixel_trans.gif', '10', '1');
    ?>
</td>
                <td class="main"><?php 
    echo smn_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART);
    ?>
</td>
<?php 
    $back = sizeof($navigation->path) - 2;
    if (isset($navigation->path[$back])) {
        ?>
                <td class="main"><?php 
        echo '<a href="' . smn_href_link($navigation->path[$back]['page'], smn_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . smn_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>';
        ?>
</td>
<?php 
    }
    ?>
                <td align="right" class="main"><?php 
    echo '<a href="' . smn_href_link(FILENAME_CHECKOUT_SELECT, '', 'NONSSL') . '">' . smn_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>';
    ?>
</td>
                <td width="10"><?php 
    echo smn_draw_separator('pixel_trans.gif', '10', '1');
    ?>
</td>
              </tr>
            </table></td>
 function debug()
 {
     for ($i = 0, $n = sizeof($this->path); $i < $n; $i++) {
         echo $this->path[$i]['page'] . '?';
         while (list($key, $value) = each($this->path[$i]['get'])) {
             echo $key . '=' . $value . '&';
         }
         if (sizeof($this->path[$i]['post']) > 0) {
             echo '<br>';
             while (list($key, $value) = each($this->path[$i]['post'])) {
                 echo '&nbsp;&nbsp;<b>' . $key . '=' . $value . '</b><br>';
             }
         }
         echo '<br>';
     }
     if (sizeof($this->snapshot) > 0) {
         echo '<br><br>';
         echo $this->snapshot['mode'] . ' ' . $this->snapshot['page'] . '?' . smn_array_to_string($this->snapshot['get'], array(smn_session_name())) . '<br>';
     }
 }