<?php

/**

* @version		1.1

* @package		DJ Classifieds

* @subpackage	DJ Classifieds Component

* @copyright	Copyright (C) 2010 Blue Constant Media LTD, All rights reserved.

* @license		http://www.gnu.org/licenses GNU/GPL

* @autor url    http://design-joomla.eu

* @autor email  contact@design-joomla.eu

* @Developer    Lukasz Ciastek - lukasz.ciastek@design-joomla.eu

* 

* 

* DJ Classifieds is free software: you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation, either version 3 of the License, or

* (at your option) any later version.

*

* DJ Classifieds is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with DJ Classifieds. If not, see <http://www.gnu.org/licenses/>.

* 

*/







defined ('_JEXEC') or die('Restricted access');

require_once('recaptchalib.php');

$publickey = "6LfzhgkAAAAAAL9RlsE0x-hR2H43IgOFfrt0BxI0"; // you got this from the signup page

$privatekey = "6LfzhgkAAAAAAOJNzAjPz3vXlX-Bw0l-sqDgipgs";

$error='';

?>



<div id="dj-classifieds" class="clearfix">

<div class="dj-additem clearfix" >

<div class="title_top"><?php echo JText::_('New Ad - Verification'); ?></div>

<form action="index.php" method="post" id="djForm" name="djForm" enctype='multipart/form-data'>



<table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">

<?php	if(isset($_POST['recaptcha_challenge_field'])){

		echo '<tr><td>';

		echo JText::_('Inalid code');

		echo '</td></tr>';

	} ?>

	<tr>

		<td class="captcha">

			<?php echo recaptcha_get_html($publickey, $error); ?>

		</td>

	</tr>

	

	</table>

	

	<button class="button" type="submit" id="submit_b" /><?php echo JText::_('Next'); ?></button>

	<input type="hidden" name="view" value="captcha" />

	<input type="hidden" name="option" value="com_djclassifieds" />

	<input type="hidden" name="Itemid" value="<?php echo $Itemid; ?>">

	

	<?php echo JHTML::_( 'form.token' ); ?>

    </form>

</div>

</div>



    