initial commit
This commit is contained in:
118
rlinks3/index.php
Executable file
118
rlinks3/index.php
Executable file
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
include "functions.php";
|
||||
include "admin.php";
|
||||
|
||||
//open the database connection
|
||||
InitializeDB();
|
||||
|
||||
SetAdminCookie(VerifyUser());
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Adobe GoLive" />
|
||||
<title>Welcome to the Home Page of ResourceLinks</title>
|
||||
<link href="css/basic.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<link href="resourcelinks_php.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<script language='javascript' type='text/javascript' src='rlinks.js'></script>
|
||||
<style type="text/css" media="screen"><!--
|
||||
#missionstatement { height: 24px; width: 470px; left: 70px; top: 37px; position: absolute; visibility: visible; }
|
||||
#rlinkslogo { height: 83px; width: 392px; left: 10px; top: 37px; position: absolute; visibility: visible; }
|
||||
#menu { height: 400px; width: 190px; left: 410px; top: 120px; position: absolute; visibility: visible; }
|
||||
#layer5 { height: 40px; width: 310px; left: 40px; top: 114px; position: absolute; visibility: visible; }
|
||||
#layer1 { height: 456px; width: 270px; left: 500px; top: 54px; position: absolute; visibility: visible; }
|
||||
#leftpicture { background-color: #fcffed; height: 580px; width: 830px; left: 0; top: 10px; position: absolute; visibility: visible; }
|
||||
--></style>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#fcffed">
|
||||
<div id="leftpicture">
|
||||
<div id="layer5">
|
||||
<div style="position:relative;width:300px;height:34px;-adbe-g:p;">
|
||||
<div style="position:absolute;top:0px;left:64px;width:192px;height:32px;-adbe-c:c">
|
||||
<div align="center">
|
||||
<em><font face="Georgia, Times New Roman, Times, serif">The Latest.....</font><font color="#fcfcfc" face="Georgia, Times New Roman, Times, serif">
|
||||
<hr />
|
||||
</font></em></div>
|
||||
</div>
|
||||
<?php
|
||||
//commands to execute before script
|
||||
if($_POST['cmd'] == 'addnews')
|
||||
{ $report = AddNewsPost(); }
|
||||
else if($_POST['cmd'] == 'editnews')
|
||||
{ $report = EditNewsPost(); }
|
||||
else if($_POST['cmd'] == 'deletenews')
|
||||
{ $report = DeleteNewsPost(); }
|
||||
else if($_POST['cmd'] == 'addcomment')
|
||||
{ AddComment(); }
|
||||
|
||||
//page requests
|
||||
if($_GET['page'] == 'admin')
|
||||
{ print Admin($report); }
|
||||
else if( isset($_GET['id']) )
|
||||
{ print GetSingleNewsPost(); }
|
||||
else
|
||||
{ print GetNews(); }
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="layer1">
|
||||
<img src="rlinkpagephotos/sdom_small.jpg" alt="" width="316" height="499" border="0" /></div>
|
||||
</div>
|
||||
<div style="position:relative;width:946px;height:590px;-adbe-g:p;"></div>
|
||||
<div id="rlinkslogo">
|
||||
<img src="rlinkpagephotos/resourcelinkslogogif" alt="" height="83" width="371" border="0" /></div>
|
||||
<div id="menu">
|
||||
<table width="150" border="0" cellspacing="2" cellpadding="7" align="center">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="index.php">Home</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/wo_we_are.html">Who we are</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/vision_for_ministry.html">Vision for Ministry</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/foundational_beliefs.html">Foundational Beliefs</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/directors.html">Directors</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/how-to-contribute.html">How to Contribute</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif">Prayer Updates</font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif">Articles/Projects</font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="linksstuff/linkframes.html">Links</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="rlinkspages/through_the-lens.html">Through the Lens</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><em><font size="-1" face="Georgia, Times New Roman, Times, serif"><a href="guestbook.php">Guestbook</a></font></em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#faf0e6"><font size="-1" color="#006400">Click <a href="prayer_let_signup/newplsignup.html">here</a> to request our monthly newsletter</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="missionstatement">
|
||||
<div style="position:relative;width:450px;height:24px;-adbe-g:p;">
|
||||
<div colspan="3" style="position:absolute;top:0px;left:32px;width:416px;height:16px;-adbe-c:c">
|
||||
<font size="-1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><i>Equipping the Man...to Build the Church... to Change the Nations</i></font></div>
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user