| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/components/com_community/templates/jomsocial/layouts/ |
Upload File : |
<?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <webmaster@ijoomla.com>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0
* More info at https://www.jomsocial.com/license-agreement
*/
defined('_JEXEC') or die();
?>
<?php
if( $fields )
{
$required = false;
?>
<form action="<?php echo CRoute::getURI(); ?>" method="post" id="jomsForm" name="jomsForm" class="community-form-validate">
<h2>HELOW FELLAS!</h2>
<?php
foreach( $fields as $group )
{
$fieldName = $group->name == 'ungrouped' ? '' : $group->name;
?>
<div class="ctitle">
<h2><?php echo JText::_( $fieldName ); ?></h2>
</div>
<ul class="cFormList cFormHorizontal cResetList">
<?php
foreach($group->fields as $field )
{
if( !$required && $field->required == 1 )
$required = true;
// Override the "readonly setting" to avoid registration fields being uneditable
$params = json_decode($field->params, true);
$params['readonly'] = 0;
$field->params = json_encode($params);
$html = CProfileLibrary::getFieldHTML($field);
?>
<li>
<label id="lblfield<?php echo $field->id;?>" for="field<?php echo $field->id;?>" class="form-label"><?php echo JText::_($field->name); ?><?php if($field->required == 1) echo '<span class="required-sign"> *</span>'; ?></label>
<div class="form-field">
<?php echo $html; ?>
<div class="form-privacy">
<?php echo CPrivacy::getHTML( 'privacy' . $field->id ); ?>
</div>
</div>
</li>
<?php
}
?>
<?php
}
?>
<?php
if( $required )
{
?>
<li></li>
<li class="has-seperator">
<div class="form-field">
<span class="form-helper"><?php echo JText::_( 'COM_COMMUNITY_REGISTER_REQUIRED_FIELDS' ); ?></span>
</div>
</li>
<?php
}
?>
<li>
<div class="form-field">
<div id="cwin-wait" style="display:none;"></div>
<input class="btn btn-primary validateSubmit" type="submit" id="btnSubmit" value="<?php echo JText::_('COM_COMMUNITY_REGISTER'); ?>" name="submit">
</div>
</li>
</ul>
<input type="hidden" name="profileType" value="<?php echo $profileType;?>" />
<input type="hidden" name="task" value="registerUpdateProfile" />
<input type="hidden" id="authenticate" name="authenticate" value="0" />
<input type="hidden" id="authkey" name="authkey" value="" />
</form>
<script type="text/javascript">
cvalidate.init();
cvalidate.setSystemText('REM','<?php echo addslashes(JText::_("COM_COMMUNITY_ENTRY_MISSING")); ?>');
joms.jQuery( '#jomsForm' ).submit( function() {
joms.jQuery('#btnSubmit').hide();
joms.jQuery('#cwin-wait').show();
if(joms.jQuery('#authenticate').val() != '1')
{
joms.registrations.authenticateAssign();
return false;
}
});
joms.jQuery( document ).ready( function(){
joms.privacy.init();
});
</script>
<?php
}
else
{
?>
<div class="cAlert"><?php echo JText::_('COM_COMMUNITY_NO_CUSTOM_PROFILE_CREATED_YET');?></div>
<?php
}
?>