"localhost", Name => "ahrc_photo_album", Login => "ahrchk", Passwd => "rM9Qzkdn", Table => "book" ); //Enter the book name of the photo album $a = new Book("BURMA: Monks Protests", $DBC); //Set the display page $url = "photo.php"; ?> 2007 monks' protests against military regime in Burma ~ Photo Gallery "; //if didn't choose the chapter or photo, you will be display chapter list if (!isset($ch_id) && !isset($photo_id)){ echo $header; $a->list_chapters(); $a->set_url($url); echo"
   
 
Back to main page"; } //if the chapter is selected, display the small photo of that chapter if (isset($ch_id)){ echo $header; $b = new Chapter($ch_id, $book_id, $ch_name, $display_order, $status, $DBC); $b->set_url($url); $b->list_photos(); echo"
Back to main page"; } //if the photo is selected, display the detail photo of that photo if (isset($photo_id)){ echo $header; $c = new photo($photo_id, $ch_id, $photo_image, $description, $title, $DBC); $c->set_url($url); $c->show_photo_controler($photo_id); $c->show_photo(); echo"
Back to main page"; } ?>