Location: PHPKode > projects > XML Guestbook > xml-guestbook/constant.php
<?php

/////////////////////////////////////////////////////////////////////
//
//     this is the constants define page of guestbook
//
//     last modify was on 2004-12-27
//
/////////////////////////////////////////////////////////////////////

//some constants use often
define ('XML_FILENAME', 'guestbook.xml');
define ('RSS_FILENAME', 'rss.xml');
define ('RECORD_DISPLAY_COUNT', '3');

//words display in page
define ('PAGE_TITLE', 'php&xml guestbook');
define ('NEW_LEAVE_WORD', 'submit new');
define ('WANT_CEART_WORD', 'please goto page one to submit new^^');
define ('WORD_AUTHOR', 'author: ');
define ('WORD_TITLE', 'title: ');
define ('WORD_CONTENT', 'content: ');
define ('SELECT_HEAD_PIC', 'please select a head picture');
define ('SUBMIT_BUTTON', 'submit');
define ('WORD_TIME', 'submit time: ');
define ('WORD_MODIFY', 'modify');
define ('WORD_DELETE', 'delete');
define ('TOTAL_RECORD_FRONT', '');
define ('TOTAL_RECORD_BACK', 'records in all');
define ('PAGE', 'page');
define ('SPACER', ' | ');
define ('FIRST_PAGE', 'first');
define ('PREVIEW_PAGE', 'pre');
define ('NEXT_PAGE', 'next');
define ('LAST_PAGE', 'last');

?>
Return current item: XML Guestbook