<?php $this->load->helper('form'); ?> <h2>Submit a support ticket</h2> <p>Required fields are <b>bold</b>.</p> <?php is_array(@$errors) ? $errors : ($errors = array()); $errors = $errors + $this->validation->_error_array; $this->load->view('chunks/messages', array('errors' => @$errors, 'messages' => @$messages, 'checkpoints' => @$checkpoints)); ?> <form method="POST" action="<?php echo $formAction; ?> "> <?php echo eb_input_text('subject', 'What\'s up?', array('class' => 'required')); ?> <?php echo eb_input_textarea('message', 'Detail the situation', array('class' => 'required')); ?> <?php echo eb_hidden('token', $token); ?> <?php echo eb_submit('submit'); ?> </form>
<?php $this->load->helper('form'); ?> <h2>Exambuff referral scheme</h2> <p>Refer your friends and we'll pay you <b>£2.00</b> for everyone who signs up and makes a purchase.</p> <?php $this->load->view('chunks/messages', array('messages' => @$messages, 'checkpoints' => @$checkpoints, 'errors' => @$errors)); ?> <form action="<?php echo site_url('user/refer'); ?> " method="post"> <?php echo eb_input_textarea('emails', 'Emails to refer, seperated by commas'); ?> <?php echo eb_hidden('token', $token); ?> <?php echo eb_submit('submit', '', array('value' => 'Refer friends')); ?> </form> <p class="minor">Please ensure you only refer your friends - if you refer strangers and they complain we will take action, and you won't be paid.</p>
echo eb_progress_bar($progressSteps, 'details'); ?> <h3>Enter details of your essay</h3> <?php if ($this->validation->error_string != '') { $errors[] = $this->validation->error_string; } $this->load->view('chunks/messages_ajax', array('errors' => @$errors)); ?> <form action="<?php echo $formAction; ?> " method="POST"> <?php echo eb_select('subject', 'Subject area of essay', $this->config->item('subjects'), array('value' => $extantData['subject'])); echo eb_input_textarea('question', 'Question', array('value' => $extantData['question'])); echo eb_submit(); ?> </form> <?php /* <form action="<?=$formAction;?>" method="POST"> <span class="field"> <label for="question"><?=lang('question');?>:</label> <textarea rows="3" cols="40" name="question"> <?php if(!empty($extantData['question'])) { echo $extantData['question']; }else { echo $this->validation->question; }?> </textarea> </span> <span class="field"> <label for="subject"><?=lang('subject');?>:</label>
<?php $this->load->helper('form'); ?> <h2>Create new markers</h2> <?php $this->load->view('chunks/messages', array('messages' => @$messages, 'checkpoints' => @$checkpoints, 'errors' => @$errors)); ?> <form action="<?php echo site_url('control/control/createmarkers'); ?> " method="post"> <?php echo eb_input_textarea('emails', 'Emails of markers, seperated by commas'); ?> <?php echo eb_hidden('token', $token); ?> <?php echo eb_submit('submit', '', array('value' => 'Create markers')); ?> </form>