Location: PHPKode > scripts > Linker IMG > linker-img/template/photo/add.html
<!-- NAME: add.tpl -->
<html>
<head><title><%L_LINK_ADD%></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%CHARSET%>">
<LINK rel="stylesheet" type="text/css" href="<%TEMPLATE%>/linker.css">

<SCRIPT LANGUAGE="JavaScript">
<!--

function blank_check(name,almess) {
var blank,blank_ch;
blank_ch = "document.myform."+name+".value";
blank = eval(blank_ch);

if (!blank) { alert(almess); return false;}
else {return true;}
}

function form_submit(faction) {

cat_index = document.myform.parent.selectedIndex;

if(!blank_check("title","<%L_ERROR_2%>")) document.myform.title.focus();
else if(!blank_check("scont","<%L_ERROR_4%>")) document.myform.scont.focus();
else if(!blank_check("name","<%L_ERROR_5%>")) document.myform.name.focus();
else if(!blank_check("email","<%L_ERROR_6%>")) document.myform.email.focus();
else if(!blank_check("passwd","<%L_ERROR_7%>")) document.myform.passwd.focus();
else if (document.myform.parent.options[cat_index].value ==0) alert(' <%L_ERROR_1%> ');
else {
document.myform.action = faction;
document.myform.submit();
}

}

//-->
</SCRIPT>
</head>
<body bgcolor="<%BGCOLOR%>">

<!-- HEADER START-->
<%PAGE_HEADER%>
<!-- HEADER END -->

<!-- MENU_BAR START-->
<%MENU_BAR%>
<!-- MENU_BAR END -->

<!-- HERE START -->
<%HERE%>
<!-- HERE START -->

<!-- Search bar -->
<%SEARCHBAR%>
<!-- Search bar -->

<br>

<div  align="<%ALIGN%>">
<table border=0 width="<%MWIDTH%>"><tr><td align=center>

<table width="100%" cellspacing="0" cellpadding="0" border="0" >
<tr>
<td  align="left" valign=top width="11"><img src="<%TEMPLATE%>/image/ul.gif" width="11" height="11" border="0"></td>
<td bgcolor="#F6F6F6" width="100%"><img src="<%TEMPLATE%>/image/x1.gif"></td>
<td  align="right" valign=top width="11"><img src="<%TEMPLATE%>/image/ur.gif" width="11" height="11" border="0"></td>
</tr>

<tr>
<td bgcolor="#F6F6F6"><img src="<%TEMPLATE%>/image/x1.gif"></td>
<td bgcolor="#F6F6F6">
<ul><FONT size="2"><%L_ADD_PRE_TXT%></FONT></ul>
</td>
<td bgcolor="#F6F6F6"><img src="<%TEMPLATE%>/image/x1.gif"></td>
</tr>

<tr>
<td  align="left" valign=bottom width="11"><img src="<%TEMPLATE%>/image/dl.gif" width="11" height="11" border="0"></td>
<td bgcolor="#F6F6F6" width=""><img src="<%TEMPLATE%>/image/x1.gif"></td>
<td align="right" valign=bottom width="11"><img src="<%TEMPLATE%>/image/dr.gif" width="11" height="11" border="0"></td>
</tr>
</table>


<form action='add.php' method='post' name="myform" ENCTYPE="multipart/form-data">
<input type='hidden' name='switch' value='add'>

<table border='0' width='<%MWIDTH%>' cellpadding='0' cellspacing='0'>

<tr><td height=2 bgcolor="gray" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>
<tr><td  height='25' colspan='2' bgcolor='#E0E0E0' align='center'><font size=2><b><%L_ADD_HEAD%></b></font></td></tr>
<tr><td height=1 bgcolor="gray" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_TITLE%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='text' name='title' maxlength='40' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_SOURCE%></font></td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='text' name='url' value='' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_CAT%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<font size='2'><select name='parent'>
<option value=''><%L_SELECT_CAT%></option>
<%VIEW_CAT%>
</select></font></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_SCONT%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='text' name='scont' maxlength='200' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>


<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_LINK%></font></td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='file' name='upfile' size='25'></td>
</tr>
    
<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>


<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_NAME%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='text' name='name' maxlength='40' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_EMAIL%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<font size='3'><input type='text' name='email' maxlength='40' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>


<!-- BEGIN DYN: tdcol -->

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%ADD_NAME%></font></td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='text' name='<%ADD_RNAME%>' maxlength='40' size='40'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<!-- END DYN: tdcol -->

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_PASS%></font> *</td>
<td bgcolor='#F6F6F6'>&nbsp;<input type='password' name='passwd' maxlength='10' size='10'></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td width='110' height='27'  bgcolor='#F6F6F6'><font size='2'>&nbsp;&nbsp;<%L_LCONT%></font></td>
<td bgcolor='#F6F6F6'>&nbsp;<textarea name='lcont' rows='7' cols='50'>
</textarea></td>
</tr>

<tr><td height=1 bgcolor="#CCCCCC" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

<tr>
<td  height='25' colspan='2' bgcolor='#E0E0E0' align='center'><font size='2'><input
type='button' value='<%L_ADD_SUBMIT%>'  onClick="form_submit('add.php')" class=cinput></font></td>
</tr>

<tr><td height=2 bgcolor="gray" colspan=2><img src="<%TEMPLATE%>/image/x1.gif"></td></tr>

</table></form>

</td></tr></table></div>

<!-- FOOTER START-->
<%PAGE_FOOTER%>
<!-- FOOTER END -->

</body>
</html>
<!-- END: add.tpl -->
Return current item: Linker IMG