 |
 |
 |
|
require("inc/menu.php3"); ?>
|
 |
 |
$qry = "select hp_article_id, hp_article_blurb, hp_article_subtitle, hp_article_text, hp_article_title from hp_article
where hp_article_live_flag=1 and hp_article_id=1";
$result = dbQuery($qry);
dbSqlError($result);
if ($row=dbResults($result))
{
$hp_article_id = $row->hp_article_id;
$hp_article_title = $row->hp_article_title;
$hp_article_subtitle = $row->hp_article_subtitle;
$hp_article_blurb = $row->hp_article_blurb;
$hp_article_text = $row->hp_article_text;
$link = " (more)";
}
?>
print $hp_article_title; ?>
".$hp_article_subtitle ;}?>
if ($hp_article_blurb){print $hp_article_blurb.$link;}
if ($hp_article_text && !$hp_article_blurb){print $hp_article_text;}
?>
|
|
|
 |
 |
 |
|
$qry2 = "SELECT * FROM hp_content WHERE hp_content_id=1";
$result2 = dbQuery($qry2);
dbSqlError($result2);
if ($row=dbResults($result2))
{
$hp_content_text = $row->hp_content_text;
}
print $hp_content_text;
?>
|
$qry = "select hp_article_blurb, hp_article_text, hp_article_subtitle, hp_article_title from hp_article where hp_article_live_flag=1 and hp_article_id=2";
$result = dbQuery($qry);
dbSqlError($result);
if ($row=dbResults($result))
{
$hp_article_title = $row->hp_article_title;
$hp_article_blurb = $row->hp_article_blurb;
$hp_article_text = $row->hp_article_text;
$hp_article_subtitle = $row->hp_article_subtitle;
$link = " (more)";
}
?>
print $hp_article_title; ?>
".$hp_article_subtitle ;}?>
if ($hp_article_blurb){print $hp_article_blurb.$link;}
if ($hp_article_text && !$hp_article_blurb){print $hp_article_text;}
?>
|
|
 |
 |
$qry = "select hp_article_blurb, hp_article_text, hp_article_subtitle, hp_article_title from hp_article where hp_article_live_flag=1 and hp_article_id=3";
$result = dbQuery($qry);
dbSqlError($result);
if ($row=dbResults($result))
{
$hp_article_title = $row->hp_article_title;
$hp_article_text = $row->hp_article_text;
$hp_article_subtitle = $row->hp_article_subtitle;
$hp_article_blurb = $row->hp_article_blurb;
$link = " (more)";
}
?>
print $hp_article_title; ?>
if ($hp_article_blurb){print $hp_article_blurb.$link;}
if ($hp_article_text && !$hp_article_blurb){print $hp_article_text;}
?>
|
|
 |
|
$qry = "select hp_article_blurb, hp_article_text, hp_article_subtitle, hp_article_title from hp_article where hp_article_live_flag=1 and hp_article_id=4";
$result = dbQuery($qry);
dbSqlError($result);
if ($row=dbResults($result))
{
$hp_article_title = $row->hp_article_title;
$hp_article_text = $row->hp_article_text;
$hp_article_blurb = $row->hp_article_blurb;
$hp_article_subtitle = $row->hp_article_subtitle;
$link = " (more)";
}
?>
print $hp_article_title; ?>
if ($hp_article_blurb){print $hp_article_blurb.$link;}
if ($hp_article_text && !$hp_article_blurb){print $hp_article_text;}
?>
|
|
$qry = "select hp_article_blurb, hp_article_text, hp_article_subtitle, hp_article_title from hp_article where hp_article_live_flag=1 and hp_article_id=5";
$result = dbQuery($qry);
dbSqlError($result);
if ($row=dbResults($result))
{
$hp_article_title = $row->hp_article_title;
$hp_article_text = $row->hp_article_text;
$hp_article_subtitle = $row->hp_article_subtitle;
$hp_article_blurb = $row->hp_article_blurb;
$link = " (more)";
}
?>
print $hp_article_title; ?>
if ($hp_article_subtitle ){print $hp_article_subtitle ;} ?>
if ($hp_article_blurb){print $hp_article_blurb.$link;}
if ($hp_article_text && !$hp_article_blurb){print $hp_article_text;}
?>
|
|
|
 |
 |
 |