Advertisement
Advertisement
| 07.01.2008 at 11:13AM PDT, ID: 23531143 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: |
<cfset counter = 0>
<form name="myForm" action="<cfoutput>#CGI.SCRIPT_NAME#</cfoutput>" method="post">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="351">Company Name</td>
<td width="61" nowrap="nowrap"><div align="center">Print Ad</div></td>
<td width="88" nowrap="nowrap"><div align="center">Web Banner</div></td>
<td width="81" nowrap="nowrap"><div align="center">Newsletter</div></td>
<td width="81" nowrap="nowrap"> <div align="center">Profile</div></td>
<td width="81" nowrap="nowrap"><div align="center">Notes</div></td>
</tr>
<cfoutput query="get_advertisers">
<cfquery name="get_checked_boxes" datasource="#dns#">
SELECT *
FROM advertisers_ad_list
WHERE advertiser_id = '#get_advertisers.advertiser_id#'
</cfquery>
<cfset counter = IncrementValue(counter)>
<tr bgcolor="###iif(currentrow MOD 2,DE('ffffff'),DE('efefef'))#">
<td><input name="advertiser_id#counter#" type="hidden" value="#get_advertisers.advertiser_id#" />#get_advertisers.company_name#</td>
<td><div align="center">
<input name="pa#counter#" type="checkbox" value="1" <cfif isdefined("get_checked_boxes.print_advertising") AND get_checked_boxes.print_advertising EQ "1">checked<cfelse></cfif>/>
</div></td>
<td><div align="center">
<input name="wb#counter#" type="checkbox" value="1" <cfif isdefined("get_checked_boxes.web_advertising") AND get_checked_boxes.web_advertising EQ "1">checked<cfelse></cfif> />
</div></td>
<td><div align="center">
<input name="nl#counter#" type="checkbox" value="1" <cfif isdefined("get_checked_boxes.newsletter_advertising") AND get_checked_boxes.newsletter_advertising EQ "1">checked<cfelse></cfif>/>
</div></td>
<td><div align="center">Profile</div></td>
<td> <div align="center">Note</div></td>
</tr>
</cfoutput>
</table>
<br />
<input name="submit" type="submit" value="submit"/>
<input type="hidden" name="counter" value="<cfoutput>#counter#</cfoutput>">
</form>
|