本文整理匯總了PHP中COMMONFUNC::GetUserProfileURL方法的典型用法代碼示例。如果您正苦於以下問題:PHP COMMONFUNC::GetUserProfileURL方法的具體用法?PHP COMMONFUNC::GetUserProfileURL怎麽用?PHP COMMONFUNC::GetUserProfileURL使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類COMMONFUNC
的用法示例。
在下文中一共展示了COMMONFUNC::GetUserProfileURL方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: date
<td align="left" class="normalblack_12" width="10%"><strong>Date</strong></td>
<td align="left" class="normalblack_12" width="65%"><strong>Subject</strong></td>
<td align="left" class="normalblack_12" width="35%"><strong>To User</strong></td>';
#<td class="normalblack_12" width="5%" align="center" style="text-align:center;"><strong>Delete</strong></td>';
echo '</tr>';
$count = "1";
for ($i = 0; $i < $db->num_rows(); $i++) {
$mail_id = $func->output_fun($db->f('mail_id'));
$Subject = $func->output_fun($db->f('Subject'));
//Date Format
$sentdate = $func->output_fun($db->f('SentDate'));
$sentdate = date('m-j-Y', strtotime($sentdate));
#Inbox - From
$varUserTo = $func->output_fun($db->f('UserTo'));
$varUserTypeTo = $func->output_fun($db->f('Usertypeto'));
$urlUserTo = $func2->GetUserProfileURL($varUserTo, $varUserTypeTo);
// echo '<tr>';
// echo '<td align="left" class="normalblack_12" ><a href=Athmessage.php?action=veiwsent&mail_id='.$mail_id.'>'.$Subject.'</a></td>';
// echo '<td align="center" class="normalblack_12" style="text-align:center;"><a href="Athmessage.php?action=deletesentconfirm&id='.$mail_id.'"><img src="images/b_drop.png" border="0" title="Delete"></a></td>';
// echo '</tr>';
echo '<tr>';
echo '<td align="left" class="normalblack_12" >' . $sentdate . '</td>';
echo '<td align="left" class="normalblack_12" ><a href="Athmessage.php?action=veiwsent&mail_id=' . $mail_id . '" title="Read Message">' . $Subject . '</a></td>';
echo '<td align="left" class="normalblack_12" >' . $urlUserTo . ' - (' . $varUserTypeTo . ')</td>';
#echo '<td align="center" class="normalblack_12" style="text-align:center;"><a href="Athmessage.php?action=deletesentconfirm&id='.$mail_id.'" onclick="return confirm(\'Are you sure you want to Permanently Delete Message? This cannot be undone.\')"><img src="images/b_drop.png" border="0" title="Delete"></a></td>';
echo '</tr>';
$db->next_record();
$count++;
}
echo "</table>";
}