August 5th, 2005

Six Million Dollar Man

"How Was Your Day, Dear?"

<tr valign="top">
   <td align="left"><strong>Content:</strong></td>
   <td align="left" colspan="3"><textarea rows="5" cols="40" wrap="soft" name="<cfoutput>content#VARIABLES.ActivityCounter#</cfoutput>"></textarea></td>
</tr>
<tr valign="top">
   <td align="left"><strong>Referred To:</strong></td>
   <td align="left" colspan="3">
    <select name="<cfoutput>ReferredTo#VARIABLES.ActivityCounter#</cfoutput>">
      <cfoutput query="qGetUsers">
         <option value="#qGetUsers.intUserID#">#qGetUsers.chvUserName#</option>
      </cfoutput>
    </select>
      <strong>Due:</strong>
    <cfoutput>
    <cfset VARIABLES.DefaultDate = #Now()#>
    <cfset VARIABLES.StartYear = #Year(VARIABLES.DefaultDate)# - 1>
    <cfset VARIABLES.EndYear = #Year(VARIABLES.DefaultDate)# + 3>
    <select name="<cfoutput>DueMonth#VARIABLES.ActivityCounter#</cfoutput>">
      <cfloop from="1" to="12" index="i">
         <option value="#i#" <cfif #Month(VARIABLES.DefaultDate)# IS #i#>selected</cfif>>#MonthAsString(i)#</option>
      </cfloop>
    </select>
    <select name="<cfoutput>DueDay#VARIABLES.ActivityCounter#</cfoutput>">
      <cfloop from="1" to="31" index="j">
         <option value="#j#" <cfif #Day(VARIABLES.DefaultDate)# IS #j#>selected</cfif>>#j#</option>
      </cfloop>
    </select>
    <select name="<cfoutput>DueYear#VARIABLES.ActivityCounter#</cfoutput>">
      <cfloop from="#VARIABLES.StartYear#" to="#VARIABLES.EndYear#" index="k">
         <option value="#k#" <cfif #Year(VARIABLES.DefaultDate)# IS #k#>selected</cfif>>#k#</option>
      </cfloop>
    </select>
    </cfoutput>
   </td>
</tr>

-The Gneech
  • Current Mood
    scared braaaainssss