Update of /cvsroot/openfirst/guestbook
In directory sc8-pr-cvs1:/tmp/cvs-serv29149
Modified Files:
deleteentry.php deleteyes.php emoticons.php index.php sign.php
signthanks.php
Log Message:
Change include to include_once so that scripts may be easily included from other scripts without problems.
Index: deleteentry.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/deleteentry.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** deleteentry.php 13 Sep 2003 16:20:07 -0000 1.8
--- deleteentry.php 13 Oct 2003 17:55:29 -0000 1.9
***************
*** 27,32 ****
*/
! include("../config/globals.php");
! include("$header");
?>
--- 27,32 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
***************
*** 63,66 ****
echo "You may delete entries by viewing them then clicking delete below them.<br><br>";
}
! include("$footer");
?>
--- 63,66 ----
echo "You may delete entries by viewing them then clicking delete below them.<br><br>";
}
! include_once("$footer");
?>
Index: deleteyes.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/deleteyes.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** deleteyes.php 13 Sep 2003 15:38:26 -0000 1.7
--- deleteyes.php 13 Oct 2003 17:55:29 -0000 1.8
***************
*** 27,32 ****
*/
! include("../config/globals.php");
! include("$header");
?>
--- 27,32 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
***************
*** 46,49 ****
<?php
! include("$footer");
?>
--- 46,49 ----
<?php
! include_once("$footer");
?>
Index: emoticons.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/emoticons.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** emoticons.php 24 Jul 2003 00:42:20 -0000 1.5
--- emoticons.php 13 Oct 2003 17:55:29 -0000 1.6
***************
*** 28,33 ****
*/
! include("../config/globals.php");
! include("$header");
?>
--- 28,33 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
***************
*** 43,46 ****
}
! include("$footer");
?>
--- 43,46 ----
}
! include_once("$footer");
?>
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** index.php 13 Sep 2003 16:20:07 -0000 1.9
--- index.php 13 Oct 2003 17:55:29 -0000 1.10
***************
*** 28,33 ****
*/
! include("../config/globals.php");
! include("$header");
?>
<h1>View Guest Book</h1>
--- 28,33 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
<h1>View Guest Book</h1>
***************
*** 99,103 ****
}
! include("$footer");
?>
</p>
--- 99,103 ----
}
! include_once("$footer");
?>
</p>
Index: sign.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/sign.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** sign.php 13 Sep 2003 15:38:26 -0000 1.8
--- sign.php 13 Oct 2003 17:55:29 -0000 1.9
***************
*** 28,33 ****
*/
! include("../config/globals.php");
! include("$header");
?>
--- 28,33 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
***************
*** 107,110 ****
<?php
! include("$footer");
?>
--- 107,110 ----
<?php
! include_once("$footer");
?>
Index: signthanks.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/signthanks.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** signthanks.php 23 Aug 2003 20:21:00 -0000 1.9
--- signthanks.php 13 Oct 2003 17:55:29 -0000 1.10
***************
*** 28,33 ****
*/
! include("../config/globals.php");
! include("$header");
?>
--- 28,33 ----
*/
! include_once("../config/globals.php");
! include_once("$header");
?>
***************
*** 112,115 ****
<?php
! include("$footer");
?>
--- 112,115 ----
<?php
! include_once("$footer");
?>
|