php源码 php源码参考

源代码在线查看: show_book.php

软件大小: 708 K
上传用户: jccg1000146752
关键词: php 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

								  include ('book_sc_fns.php');				  // The shopping cart needs sessions, so start one				  session_start();								  $isbn = $_GET['isbn'];								  // get this book out of database				  $book = get_book_details($isbn);				  do_html_header($book['title']);				  display_book_details($book);								  // set url for "continue button"				  $target = 'index.php';				  if($book['catid'])				  {				    $target = 'show_cat.php?catid='.$book['catid'];				  }				  // if logged in as admin, show edit book links				  if( check_admin_user() )				  {				    display_button("edit_book_form.php?isbn=$isbn", 'edit-item', 'Edit Item');				    display_button('admin.php', 'admin-menu', 'Admin Menu');				    display_button($target, 'continue', 'Continue');				  }				  else				  {				    display_button("show_cart.php?new=$isbn", 'add-to-cart', 'Add '				                   .$book['title'].' To My Shopping Cart'); 				    display_button($target, 'continue-shopping', 'Continue Shopping');				  }				  				  do_html_footer();				?>							

相关资源