value="<?php if ($current_user->user_firstname != "") { echo stripslashes($current_user->user_firstname) ." ". stripslashes($current_user->user_lastname); } else { echo stripslashes($_POST['name_owner']); }?>" />
value="<?php if ($current_user->nickname != "") { echo stripslashes($current_user->nickname); } else { echo stripslashes($_POST['name_owner']); }?>" />
value="<?php echo stripslashes($current_user->user_login); ?>" />
<tr> <th><label for="first_name"><?php _e('First Name','cp') ?></label></th> <td><input type="text" name="first_name" class="mid2" id="first_name" value="<?php echo $userdata->first_name ?>" size="35" maxlength="100" /></td> </tr> <tr> <th><label for="last_name"><?php _e('Last Name','cp') ?></label></th> <td><input type="text" name="last_name" class="mid2" id="last_name" value="<?php echo $userdata->last_name ?>" size="35" maxlength="100" /></td> </tr>
$public_display['display_firstname'] = $userdata->first_name; $public_display['display_firstlast'] = $userdata->first_name.' '.$userdata->last_name; $public_display['display_lastfirst'] = $userdata->last_name.' '.$userdata->first_name;
<span><?php _e('Posted By:','cp');?></span> <h1> <?php if (get_the_author() != "") { ?> <?php echo get_post_meta($post->ID, "name", true); ?> <?php } else { echo get_post_meta($post->ID, "name", true); } ?> </h1>
There are currently 1 users browsing this thread. (0 members and 1 guests)