Problem s galerii po druhe, kdo mi poradi?

Template error
Failed to find block 'uname_input'(#(<!-- BEGIN uname_input -->)(.*?)(<!-- END uname_input -->)#s) in :

<tr>
<td ><b>{ADD_YOUR_COMMENT}</b></td>
</tr>
<tr>
<form method="post" name="post" action="modules.php?name=coppermine&file=db_input">
<td colspan="3">
<table width="100%" cellpadding="0" cellspacing="0">
<input type="hidden" name="event" value="comment">
<input type="hidden" name="pid" value="{PIC_ID}">
<!-- BEGIN username_input -->
<td >
<input type="text" name="msg_author" size="10" maxlength="20" value={username}>
</td>
<!-- END username_input -->
<!-- BEGIN input_box_smilies -->
<td width="100%" >
<input type="text" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;"> <!-- END input_box_smilies -->

</td>
<td >
<input type="submit" name="submit" value="{OK}">
</td>
</table>
</td>
</form>
</tr>
<!-- BEGIN smilies -->
<tr>
<td width="100%" >
{SMILIES}
</td>
</tr>
<!-- END smilies -->
v samblone do ktere se tvori galerie chybi blok, kterej zacina <!-- BEGIN uname_input --> a konci <!-- END uname_input --> obsluhujici program tam nemohl vlozit vygenerovana data.