{embed="embeds/header" section_weblogs="site" page_title="TDNA - Membership" meta_keywords="Texas, newspapers, news" }

<!-----Main Display Area----->

{embed="embeds/left_rail" section_weblogs="site"}

<h3>TDNA Annual Directory Submission Form</h3>
<br />
{if logged_out}
    {exp:member:login_form return="directory/directory_form"}
    
    <p><label>Username</label><br />
    <input type="text" name="username" value="" maxlength="32" class="input" size="15" /></p>
    
    <p><label>Password</label><br />
    <input type="password" name="password" value="" maxlength="32" class="input" size="15" /></p>
    
    {if auto_login}
    <p><input class='checkbox' type='checkbox' name='auto_login' value='1' /> Auto-login on future visits</p>
    {/if}
        
    <p><input type="submit" name="submit" value="Submit" /></p>
    
    <p><a href="{path=members/forgot_password}">Forgot your password?</a></p>

<p>You must be registered and a member newspaper of the Texas Daily Newspaper Association to submit information. <a href="{path=member/register}"><b>Click here to register.</b></a>
    
    {/exp:member:login_form}
{/if}

<!-----THIS IS THE LOGIN SECTION----->

{if logged_in}
{embed="includes/if_logged_in"}

<p>Please fill out ALL the fields on the following directory form. Advertising agencies and potential advertisers regularly use the directory to determine their ad-buying schedule, so the more information they have available, the easier it will be for them to determine their strategies. Any info fields left blank will not be included in the member publication's listing.</p>

{exp:channel:entry_form channel="directory" return="site/thankyou"}

<table width="500" cellpadding="10" border="0">
  <tr>
    <td>* Newspaper name:</td><td>
<input type="text" name="title" id="title" value="{title}" size="30" maxlength="30" onkeyup="liveUrlTitle();" /></td></tr>
{custom_fields}
  <tr>
    <td>
{if required}* {/if}{field_label}: 
    </td>
    <td>
{if textinput}
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="30" onclick="setFieldName(this.name)" /><br />
{field_instructions}
{/if}
    </td>
  </tr>
{/custom_fields} 
</table>

<input type="submit" name="submit" value="Submit" />

{/exp:channel:entry_form}

<hr class="line">
</div>

{embed="embeds/footer"}
