%%document-create-member-html%%
roots.encielo.org : /recipients
2002-08-16 10:30:00

%%preprocess%%
$this->beryliumToForm();

// generic name
$this->name= date("Ymd").".".substr(uniqid(""),-4);

// category selector
$ccategory= "category".$this->p_category;
$this->{$ccategory}= "selected";


%%header%%


%%css%%


%%template%%


%%listrow%%
 

%%nullobject%%
<tt>
<b>Create A New Recipient:</b>
<br>
<br>
Helpful resources: <a href='http://www.house.gov/house/MemberWWW_by_State.htm' target='_BLANK'>Find your Representative</a> | <a href='http://www.senate.gov/contacting/index_by_state.cfm' target='_BLANK'>Find your Senator</a>
<form method='post' action='$this->baseURL?method=save$session->cgi'>
<blockquote>
Category: 
    <select name='p_category'>
	<option value='un' $this->categoryun >United Nations</option>
	<option value='world' $this->categoryworld >World Leaders</option>
	<option value='exec' $this->categoryexec >U.S. Executive</option>
	<option value='sen' $this->categorysen >U.S. Senate</option>
	<option value='house' $this->categoryhouse >U.S. House</option>
	<option value='state' $this->categorystate >State Official</option>
	<option value='local' $this->categorylocal >Local Official</option>
	<option value='org' $this->categoryorg >Organization</option>
	<option value='media' $this->categorymedia >Media</option>
    </select>
<br>
<br>
Surname or Organization Name:
<br>
<input type='text' name='p_surname' size='42' maxlength='255' value="$this->p_surname">
<br>
<br>
Given Names (person only):
<br>
<input type='text' name='p_givenname' size='42' maxlength='255' value="$this->p_givenname">
<br>
<br>
Title / Honorific: (how to address the recipient, like Representative, Mayor, Ms...)
<br>
(person only)
<br>
<input type='text' name='p_salutation' size='42' maxlength='255' value="$this->p_salutation">
<br>
<br>
Position or Description:
<br>
<input type='text' name='description' size='42' maxlength='255' value="$this->description">
<br>
<br>
Location / Jurisdiction:
<br>
<input type='text' name='p_location' size='42' maxlength='255' value="$this->p_location">
<br>
<br>
Email Address / Web Address of Contact Form:
<br>
<input type='text' name='p_email' size='42' maxlength='255' value="$this->p_email">
<br>
<br>
Website:
<br>
<input type='text' name='p_website' size='42' maxlength='255' value="$this->p_website">
<br>
<br>
Mailing Address:
<br>
<textarea name='p_mail' cols='40' rows='5' wrap='VIRTUAL'>$this->p_mail</textarea>
<br>
<br>
Fax Number:
<br>
<input type='text' name='p_fax' size='24' maxlength='255' value="$this->p_fax">
<br>
<br>
Notes ( <a href='http://berylium.org/berylium/docs/quickbml.html'>bml</a> ):
<br>
<textarea name='body' cols='60' wrap='VIRTUAL' rows='6'>$this->body</textarea>
<br>
<br>
File name: (for URL)
<br>
<input type='text' name='name' size='42' maxlength='255' value="$this->name">
<br> &nbsp; Leave as is, or change in special cases.
<br>
<br>
<input type='submit' name='submit' value='update' title='Save'>
</blockquote>
</form>
</tt> 

%%footer%%


%%postprocess%%


%%end of context%%

 
