Esempio n. 1
0
							<th>Uredi</th>
                                                        <th>Obriši</th>
						</tr>
					</thead>
				<tbody>
                                    
                                    <?php 
    foreach ($all_users as $all) {
        ?>
					<tr>
						<td><?php 
        echo $all->user_name . ' ' . $all->last_name;
        ?>
</td>
						<td><?php 
        echo hr_oblik_datuma($all->created_date);
        ?>
</td>
                                                <td><?php 
        echo $all->status;
        ?>
</td>
                                                <?php 
        if ($all->status == 'active') {
            ?>
                                                <td><a href="<?php 
            echo base_url() . 'superadmin/block_user/' . $all->user_id . '/' . $all->type;
            ?>
">Blokiraj</a></td>
                                                <?php 
        } else {
Esempio n. 2
0
    echo $details['body'];
    ?>
</p>
        <p>Adresa: <?php 
    echo $details['user_location'];
    ?>
, <?php 
    echo $details['state_name'];
    ?>
</p>
        <p>Tel: <strong><?php 
    echo $details['user_tel'];
    ?>
</strong></p>
        <p>Javiti se do: <strong><?php 
    echo hr_oblik_datuma($details['date_expires']);
    ?>
</strong></p>
        <p><?php 
    echo '<a href=mailto:"' . $details['user_email'] . '">' . $details['user_email'] . '</a>';
    ?>
</p>
        <?php 
    $posted = (int) strtotime($details['date_created']);
    $current = time();
    ?>
      <p><i> Oglas je predan prije <?php 
    echo $this->timeword->convert($posted, $current);
    ?>
 </i></p>
      <p>&nbsp;</p>
Esempio n. 3
0
    ?>
</textarea>
        
        <label for="date">Početak oglasa <?php 
    echo hr_oblik_datuma($advert['date_created']);
    ?>
</label>
        <p>Kliknite u polje promijenite datum</p>
        <input type="hidden" type="text" name="date_created" value="<?php 
    echo $advert['date_created'];
    ?>
" />
         <input type="text" style="width:170px;" name="new_date_created"  class="datepicker" id="datepicker_1"  readonly="readonly"   class="required sign red"  title="Početni datum oglasa" />
         <div class="clear"></div>
         <label for="date2">Završetak oglasa <?php 
    echo hr_oblik_datuma($advert['date_expires']);
    ?>
 </label>
        <p>Kliknite u polje promijenite datum</p>
        <input type="hidden" type="text" name="date_expires" value="<?php 
    echo $advert['date_expires'];
    ?>
" />
         <input type="text" style="width:170px;" name="new_date_expires" class="datepicker" id="datepicker_2"  readonly="readonly"   class="required sign red"  title="Završni datum oglasa" />
       <div class="clear"></div>
        <input type="submit" class="submit no-margin-bottom" name="submit" value="Uredi oglas"/>
      

  <?php 
}
echo form_close();
Esempio n. 4
0
    echo $traveller['user_image'];
    ?>
" alt="Posao na brzinu" class="border" title="Align Left" width="100" />	
			</div>              
            <?php 
    // ako imamo last name, vracamo ime i prezime, ako nemamo vracamo samo user_name
    $user_name = isset($traveller['last_name']) ? $traveller['user_name'] . ' ' . $traveller['last_name'] : $traveller['user_name'];
    // ako imamo url, radimo od toga link
    ?>

         <p><?php 
    echo $company = $traveller['url'] ? '<a href="' . $traveller['url'] . '" target="_blank">' . $user_name . ' <strong style="color:#FF7E00;"> &Rrightarrow;</strong>  </a>' : "<strong>{$user_name}</strong>";
    ?>
</p>
        <p>Datum: <strong><?php 
    echo hr_oblik_datuma($traveller['date_hitchhiking']);
    ?>
 u <?php 
    echo $traveller['at_what_time'];
    ?>
.</strong></p>
        <p>Tel: <?php 
    echo $traveller['tel'];
    ?>
</p>
        <p><?php 
    echo '<a href="mailto:' . $traveller['email'] . '">' . $traveller['email'] . '</a>';
    ?>
</p>
        <?php 
    if (isset($traveller['body'])) {
Esempio n. 5
0
				<tbody>
                                    
                                    <?php 
    foreach ($user_hitchhiker as $hitch) {
        ?>
					<tr>
						<td><?php 
        echo $hitch['from'];
        ?>
</td>
                                                <td><?php 
        echo $hitch['to'];
        ?>
</td>
						<td><?php 
        echo hr_oblik_datuma($hitch['date_hitchhiking']);
        ?>
 u <?php 
        echo $hitch['at_what_time'];
        ?>
</td>
						<td><a href="<?php 
        echo base_url() . 'superadmin/delete_hitchhiking/' . $hitch['id'];
        ?>
">Obriši</a></td>
					</tr>
                                        
                                        <?php 
    }
    ?>