Показать сообщение отдельно
  #11 (permalink)  
Старый 25.05.2014, 17:10
Профессор
Отправить личное сообщение для Espey Посмотреть профиль Найти все сообщения от Espey
 
Регистрация: 03.03.2014
Сообщений: 228

Вот форма, для меня это сложно и непонятно, но я знаю где тут кнопка отправить. Может ее переделать, чтоб редирект срабатывал.

<form id="form" name="myform" action="<?php echo $path; ?>modules/mod_jlord_recommend/jlord_recommend_underground.php" method="post">
	
	<div style="border:0;">
		<p class="jlord-recommend-title"><?php echo JText::_('Your name'); ?></p>
		<input type="text" name="your_name" id="your_name" class="inputbox"/>
		<p class="jlord-recommend-title"><?php echo JText::_('Your e-mail'); ?></p>
		<input type="text" name="your_email" id="your_email" class="inputbox"/>
		
		<p class="jlord-recommend-title">
			<?php echo JText::_('Your Friend\'s Email'); ?>&nbsp;
		</p>
						
		<input type="text" name="friend_email[0]" id="friend_email_0" class="inputbox" /> <p/>
		<div style="border:0;" id="friend_email_tab">
		</div>
	</div>
	
	<?php if($displaymsg==1): ?>
	<!-- show/hide message -->
	<p id="jlord-recommend-message"><?php echo JText::_('Message'); ?>&nbsp;<a onclick="showMessageForm();" href="javascript:void(0)" title="<?php echo JText::_('click here to show message box'); ?>">[+]</a></p>
	<!-- end show/hide message -->
	<?php endif; ?>
	<!-- end basic form -->
	
	<!--<table id="insertRow">
		<tr>
			<td align="right"><a onclick="remRow()" href="javascript: void(0)">[-]</a></td>
			<td align="right"><a onclick="addRow()" href="javascript: void(0)">[+]</a></td>
		</tr>
	</table>-->
	
	
	<div style="clear:both;">
	<p></p>
		<input type="submit"; class="button" name="submit" value="<?php JText::printf($send); ?>"/>
	</div>
	<input type="hidden" name="successful" value ="<?php JText::printf($successful); ?>" />
	<input type="hidden" name="site" value ="<?php JText::printf($site); ?>" />
	<input type="hidden" name="success" value ="<?php JText::printf($successful); ?>" />
	<input type="hidden" name="subject" value ="<?php JText::printf($subject_mail); ?>" />
	<input type="hidden" name="content" value ='<?php JText::printf($content_mail); ?>' />
	<input type="hidden" name="errormail" value ="<?php JText::printf($error_mail); ?>" />
	<input type="hidden" name="host" value ="<?php JText::printf($host); ?>" />
	<input type="hidden" name="message_default" value ="<?php JText::printf($message_default); ?>" />
	<input type="hidden" name="site_url" value ="<?php JText::printf($site_url); ?>" />
	<div id="form_box">
	<div id="jlord-recommend-display-error" class ="jlord-recommend-display-error" align="center" ></div>
	
	<div id="log">
		<div id="log_res" class="jlord-recommend-display-error"><!-- spanner --></div>
	</div>

</div>
</form>
Ответить с цитированием