diff options
| author | ivan <ivan> | 2006-08-23 22:25:39 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2006-08-23 22:25:39 +0000 |
| commit | 3ce7691203a7737406bf2d4442f7fd84b81f847e (patch) | |
| tree | 90658b097da96772224f04771888ac6ca1a940aa /httemplate/search/reg_code.html | |
| parent | 15e561850b61b10a92a46d8f3e316d53d4970087 (diff) | |
Will things ever be the same again?
It's the final masonize
Diffstat (limited to 'httemplate/search/reg_code.html')
| -rw-r--r-- | httemplate/search/reg_code.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/httemplate/search/reg_code.html b/httemplate/search/reg_code.html index 52a99ff66..dc388db2e 100644 --- a/httemplate/search/reg_code.html +++ b/httemplate/search/reg_code.html @@ -1,13 +1,14 @@ -<% - -my $agentnum = $cgi->param('agentnum'); -$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum"; -$agentnum = $1; -my $agent = qsearchs('agent', { 'agentnum' => $agentnum } ); - -my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum"; - -%><%= include( 'elements/search.html', +% +% +%my $agentnum = $cgi->param('agentnum'); +%$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum"; +%$agentnum = $1; +%my $agent = qsearchs('agent', { 'agentnum' => $agentnum } ); +% +%my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum"; +% +% +<% include( 'elements/search.html', 'title' => 'Unused Registration Codes for '. $agent->agent, 'name' => 'registration codes', |
