A
Andrew
I am making a web site and I am using ASP because of its templating
capabilities. My footer is an include file, for obvious reasons. I
can't use an include file for the header, because, while the top of
the page will be 90% similar, they will have different titles, page
titles, and left nav menus. I could write a function so that these
vars can be interpolated, except I don't want 70 lines of
Response.Write("foo") (there is a moderate amount of formatting on
each page). Does ASP have a "print HERE" function like Perl that
prints out large blocks of HTML and interpolates variables?
print <<<;
<html>
<head><title> strPageTitle </title>
<meta description="This site is an online for all those interested
in..">
</head>
<body bgcolor="wheat" leftmargin="0" link="blue" vlink="blue">
<center>
<table width="600" bgcolor="white">
<tr><td colspan="3" height="10"> </td></tr>
<tr>
<td valign="top">
strMainLeftNav
</td>
<td width="10"> </td>
<td><center> strPAgeTitle </center>
<p>
<table><tr><td>
<<<
capabilities. My footer is an include file, for obvious reasons. I
can't use an include file for the header, because, while the top of
the page will be 90% similar, they will have different titles, page
titles, and left nav menus. I could write a function so that these
vars can be interpolated, except I don't want 70 lines of
Response.Write("foo") (there is a moderate amount of formatting on
each page). Does ASP have a "print HERE" function like Perl that
prints out large blocks of HTML and interpolates variables?
print <<<;
<html>
<head><title> strPageTitle </title>
<meta description="This site is an online for all those interested
in..">
</head>
<body bgcolor="wheat" leftmargin="0" link="blue" vlink="blue">
<center>
<table width="600" bgcolor="white">
<tr><td colspan="3" height="10"> </td></tr>
<tr>
<td valign="top">
strMainLeftNav
</td>
<td width="10"> </td>
<td><center> strPAgeTitle </center>
<p>
<table><tr><td>
<<<