<?php

/* posting_attach_body.html */
class __TwigTemplate_459e24bbeaf589efd87521c2a3c6db53be0423118eb4d0da0e5ab41dd9882951 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<tr>
\t<th colspan=\"2\">
\t\t<script type=\"text/javascript\">
\t\t// <![CDATA[
\t\t\t/**
\t\t\t* Show upload progress bar
\t\t\t*/
\t\t\tfunction popup_progress_bar()
\t\t\t{
\t\t\t\tclose_waitscreen = 0;
\t\t\t\t// no scrollbars
\t\t\t\tpopup('";
        // line 12
        if (isset($context["UA_PROGRESS_BAR"])) { $_UA_PROGRESS_BAR_ = $context["UA_PROGRESS_BAR"]; } else { $_UA_PROGRESS_BAR_ = null; }
        echo $_UA_PROGRESS_BAR_;
        echo "', 400, 200, '_upload');
\t\t\t}
\t\t// ]]>
\t\t</script>

\t\t";
        // line 17
        if (isset($context["S_CLOSE_PROGRESS_WINDOW"])) { $_S_CLOSE_PROGRESS_WINDOW_ = $context["S_CLOSE_PROGRESS_WINDOW"]; } else { $_S_CLOSE_PROGRESS_WINDOW_ = null; }
        if ($_S_CLOSE_PROGRESS_WINDOW_) {
            // line 18
            echo "\t\t\t<script type=\"text/javascript\">
\t\t\t// <![CDATA[
\t\t\t\tclose_waitscreen = 1;
\t\t\t// ]]>
\t\t\t</script>
\t\t";
        }
        // line 24
        echo "
\t\t";
        // line 25
        echo $this->env->getExtension('phpbb')->lang("ADD_ATTACHMENT");
        echo "
\t</th>
</tr>
<tr>
\t<td class=\"row3\" colspan=\"2\"><span class=\"gensmall\">";
        // line 29
        echo $this->env->getExtension('phpbb')->lang("ADD_ATTACHMENT_EXPLAIN");
        echo "</span></td>
</tr>

<tr> 
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 33
        echo $this->env->getExtension('phpbb')->lang("FILENAME");
        echo "</b></td> 
\t<td class=\"row2\"><input type=\"file\" name=\"fileupload\" maxlength=\"";
        // line 34
        if (isset($context["FILESIZE"])) { $_FILESIZE_ = $context["FILESIZE"]; } else { $_FILESIZE_ = null; }
        echo $_FILESIZE_;
        echo "\" value=\"\" class=\"btnfile\" /></td>
</tr> 
<tr> 
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 37
        echo $this->env->getExtension('phpbb')->lang("FILE_COMMENT");
        echo "</b></td> 
\t<td class=\"row2\">
\t\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
\t\t<tr>
\t\t\t<td><textarea class=\"post\" name=\"filecomment\" rows=\"3\" cols=\"35\">";
        // line 41
        if (isset($context["FILE_COMMENT"])) { $_FILE_COMMENT_ = $context["FILE_COMMENT"]; } else { $_FILE_COMMENT_ = null; }
        echo $_FILE_COMMENT_;
        echo "</textarea>&nbsp;</td>
\t\t\t<td valign=\"top\">
\t\t\t\t<table border=\"0\" cellspacing=\"4\" cellpadding=\"0\">
\t\t\t\t<tr>
\t\t\t\t\t<td><input class=\"btnlite\" type=\"submit\" style=\"width:150px\" name=\"add_file\" value=\"";
        // line 45
        echo $this->env->getExtension('phpbb')->lang("ADD_FILE");
        echo "\" onclick=\"popup_progress_bar();\" /></td>
\t\t\t\t</tr>
\t\t\t\t</table>
\t\t\t</td>
\t\t</tr>
\t\t</table>
\t</td>
</tr> 

";
        // line 54
        if (isset($context["S_HAS_ATTACHMENTS"])) { $_S_HAS_ATTACHMENTS_ = $context["S_HAS_ATTACHMENTS"]; } else { $_S_HAS_ATTACHMENTS_ = null; }
        if ($_S_HAS_ATTACHMENTS_) {
            // line 55
            echo "\t<tr>
\t\t<th colspan=\"2\">";
            // line 56
            echo $this->env->getExtension('phpbb')->lang("POSTED_ATTACHMENTS");
            echo "</th>
\t</tr>

\t";
            // line 59
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "attach_row", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["attach_row"]) {
                // line 60
                echo "\t\t<tr>
\t\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 61
                echo $this->env->getExtension('phpbb')->lang("FILENAME");
                echo "</b></td>
\t\t\t<td class=\"row2\"><a class=\"genmed\" href=\"";
                // line 62
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "U_VIEW_ATTACHMENT", array());
                echo "\" target=\"_blank\">";
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "FILENAME", array());
                echo "</a></td> 
\t\t</tr>
\t\t<tr> 
\t\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 65
                echo $this->env->getExtension('phpbb')->lang("FILE_COMMENT");
                echo "</b></td> 
\t\t\t<td class=\"row2\">";
                // line 66
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "S_HIDDEN", array());
                echo "
\t\t\t\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
\t\t\t\t<tr>
\t\t\t\t\t<td><textarea class=\"post\" name=\"comment_list[";
                // line 69
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "ASSOC_INDEX", array());
                echo "]\" rows=\"3\" cols=\"35\" wrap=\"virtual\">";
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "FILE_COMMENT", array());
                echo "</textarea>&nbsp;</td>
\t\t\t\t\t<td valign=\"top\">
\t\t\t\t\t\t<table border=\"0\" cellspacing=\"4\" cellpadding=\"0\">
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t<td><input class=\"btnlite\" type=\"submit\" style=\"width:150px\" name=\"delete_file[";
                // line 73
                if (isset($context["attach_row"])) { $_attach_row_ = $context["attach_row"]; } else { $_attach_row_ = null; }
                echo $this->getAttribute($_attach_row_, "ASSOC_INDEX", array());
                echo "]\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("DELETE_FILE");
                echo "\" /></td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</table>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t\t</table>
\t\t\t</td>
\t\t</tr>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attach_row'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 82
            echo "
";
        }
    }

    public function getTemplateName()
    {
        return "posting_attach_body.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  181 => 82,  163 => 73,  152 => 69,  145 => 66,  141 => 65,  131 => 62,  127 => 61,  124 => 60,  119 => 59,  113 => 56,  110 => 55,  107 => 54,  95 => 45,  87 => 41,  80 => 37,  73 => 34,  69 => 33,  62 => 29,  55 => 25,  52 => 24,  44 => 18,  41 => 17,  32 => 12,  19 => 1,);
    }
}
/* <tr>*/
/* 	<th colspan="2">*/
/* 		<script type="text/javascript">*/
/* 		// <![CDATA[*/
/* 			/***/
/* 			* Show upload progress bar*/
/* 			*//* */
/* 			function popup_progress_bar()*/
/* 			{*/
/* 				close_waitscreen = 0;*/
/* 				// no scrollbars*/
/* 				popup('{UA_PROGRESS_BAR}', 400, 200, '_upload');*/
/* 			}*/
/* 		// ]]>*/
/* 		</script>*/
/* */
/* 		<!-- IF S_CLOSE_PROGRESS_WINDOW -->*/
/* 			<script type="text/javascript">*/
/* 			// <![CDATA[*/
/* 				close_waitscreen = 1;*/
/* 			// ]]>*/
/* 			</script>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		{L_ADD_ATTACHMENT}*/
/* 	</th>*/
/* </tr>*/
/* <tr>*/
/* 	<td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td>*/
/* </tr>*/
/* */
/* <tr> */
/* 	<td class="row1"><b class="genmed">{L_FILENAME}</b></td> */
/* 	<td class="row2"><input type="file" name="fileupload" maxlength="{FILESIZE}" value="" class="btnfile" /></td>*/
/* </tr> */
/* <tr> */
/* 	<td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td> */
/* 	<td class="row2">*/
/* 		<table border="0" cellspacing="0" cellpadding="2">*/
/* 		<tr>*/
/* 			<td><textarea class="post" name="filecomment" rows="3" cols="35">{FILE_COMMENT}</textarea>&nbsp;</td>*/
/* 			<td valign="top">*/
/* 				<table border="0" cellspacing="4" cellpadding="0">*/
/* 				<tr>*/
/* 					<td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" onclick="popup_progress_bar();" /></td>*/
/* 				</tr>*/
/* 				</table>*/
/* 			</td>*/
/* 		</tr>*/
/* 		</table>*/
/* 	</td>*/
/* </tr> */
/* */
/* <!-- IF S_HAS_ATTACHMENTS -->*/
/* 	<tr>*/
/* 		<th colspan="2">{L_POSTED_ATTACHMENTS}</th>*/
/* 	</tr>*/
/* */
/* 	<!-- BEGIN attach_row -->*/
/* 		<tr>*/
/* 			<td class="row1"><b class="genmed">{L_FILENAME}</b></td>*/
/* 			<td class="row2"><a class="genmed" href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank">{attach_row.FILENAME}</a></td> */
/* 		</tr>*/
/* 		<tr> */
/* 			<td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td> */
/* 			<td class="row2">{attach_row.S_HIDDEN}*/
/* 				<table border="0" cellspacing="0" cellpadding="2">*/
/* 				<tr>*/
/* 					<td><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual">{attach_row.FILE_COMMENT}</textarea>&nbsp;</td>*/
/* 					<td valign="top">*/
/* 						<table border="0" cellspacing="4" cellpadding="0">*/
/* 						<tr>*/
/* 							<td><input class="btnlite" type="submit" style="width:150px" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td>*/
/* 						</tr>*/
/* 						</table>*/
/* 					</td>*/
/* 				</tr>*/
/* 				</table>*/
/* 			</td>*/
/* 		</tr>*/
/* 	<!-- END attach_row -->*/
/* */
/* <!-- ENDIF -->*/
/* */
