All pastes #965722 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-04-01 04:18 UTC
rendered paste body
<CFIF Isdefined("URL.t")>  
<cfset t='#url.t#'>
<cfelse>
<cfset t='*-08_*'>
</cfif>

<CFSET path = '#expandpath(" ")#'>
<CFSET servername = "portlandlcg.instantnetworks.net">
<cfset pathtofile = "audio">
<CFDIRECTORY ACTION="list" directory="#path#" name="listingmusic" filter="#t#.mp3">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Portland Living Church Of God Audio Listing</title>
<style type="text/css">
<!--
body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #666666;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
.oneColElsCtr #container {
	width: 65em;
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
}
.oneColElsCtr #mainContent {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
-->
</style>
<!---
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=25,height=25');");
}
// End -->
</script> --->

</head>

<body class="oneColElsCtr">

<div id="container">
  <div id="mainContent">
    <h1 align="center"> Portland Living Church Of God</h1>
    <h4 align="center">&nbsp;</h4>
    <h4 align="center">Mp3 Songlist<BR> Date - Speaker - Type - Title - Download - Stream<BR>  If you have a missing title please use contact form.</h4>
    <h3 align="left"><BR>
      <BR>
      Sort by:</h3>
    <h1 align="center">
  <form method="GET" action="index.cfm">
    <p align="left"><select size="1" name="t">
      <option value="*-08_*">All 2008 Audio</option>
      <option value="*-08_*sermon_*">2008 Sermons</option>
      <option value="*-07_*">All 2007 Audio</option>
      <option value="*-07_*sermon_*">2007 Sermons</option>
      <option value="*-07_*sermonette_*">2007 Sermonettes</option>
      <option value="*-06_*">All 2006 Audio</option>
      <option value="*-06_*sermon_*">2006 Sermons</option>
      <option value="*-06_*sermonette_*">2006 Sermonettes</option>
      <option value="*-05_*">All 2005 Audio</option>
      <option value="*-05_*sermon_*">2005 Sermons</option>
      <option value="*-05_*sermonette_*">2005 Sermonettes</option>
      <option value="*_Bible_Study_*">Bible Study</option>
      <option value="*_Leadership_*">Living Leadership</option>
      <option value="*">All Audio</option>
      </select><input type="submit" value="Submit" name="B1"></p>
  </form>
  </h1>
    <h3 align="left"><cfoutput>#listingmusic.recordcount#</cfoutput> Files Found<BR>
      </h3>
      <HR>
      <p>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="3"></td>
        </tr>
        <cfoutput query="listingmusic">
          <cfset displayname = replace(#name#, "_", " ", "all")>
          <tr>
            <td><b>#listingmusic.currentrow#)</b> #displayname#</td>
            <td><a href="http://portlandlcg2.instantnetworks.net/pdxaudio/#name#">Download</a></td>
           <td><a href="play.cfm?&play=#name#" target="_blank"><img border="0" src="play.gif" width="17" height="17"></a></td>
          </tr>
        </cfoutput>
        <tr>
        <td></td>
        <td></td>
        </tr>
</table>
      </p>
      <p>
      </p>
      <p>&nbsp; </p>
  </div>
</div>
</body>
</html>