|
|
Đăng lúc 2-3-2010 05:17 PM
|
Xem tất
- <?php
- include template('footer');
- } else {
- $touser = str_replace(" ","",$txt_sMateNick);
- $touser = addslashes(htmlspecialchars($touser));
- $qhmsg = addslashes(htmlspecialchars($txt_sOath));
- if ($zqz[hw]) {
- marry_showmessage("ฤใาัพญสวำะผาสาตฤศหมหฃฌฑพษ็ว๘ฝ๛ึนึุป้ฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- if (!$touser) {
- marry_showmessage("ฤ๚าชฯ๒หญว๓ป้ฐกฃฟฒปปแสวฯ๒ฟีฦ๘ฐษฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- if (!$qhmsg) {
- marry_showmessage("ว๋ะดฯยฤ๚ตฤว๓ป้ะ๛ัิฃจ50ืึาิฤฺฃฉฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- $imagesquery = $db->query("SELECT uid,username,gender,hw FROM {$tablepre}members WHERE username='".$touser."'");
- if (!$db->num_rows($imagesquery)) {
- marry_showmessage("ธรำรปงฒปดๆิฺฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- $qhquery=$db->query("SELECT * from {$tablepre}qiuhun where dlg='0' and (username='$discuz_user' or tousername='$discuz_user')");
- if ($db->num_rows($qhquery)) {
- marry_showmessage("ฤใาัพญตฝปมหว๓ป้ว๋ว๓ฃฌป๒สวำะศหีิฺฯ๒ฤใว๓ป้ฃฌว๋ศฅิยภฯฐๆฟ้ฒ้ฟดฃก",'plugin.php?identifier=marry&module=marry&index=manager');
- }//ดหดฆนุต๔ตฺศี฿
- $qhquery=$db->query("SELECT * from {$tablepre}qiuhun where dlg='0' and username='$discuz_user' and tousername='$touser'");
- if ($db->num_rows($qhquery)) {
- marry_showmessage("ฤใาัพญว๓นาปดฮป้มหฃฌิฺถิทฝื๖ณ๖ด๐ธดวฐฃฌฤใฒปฤิูดฮว๓ป้ฃฌว๋ศฅิยภฯฐๆฟ้ฒ้ฟดฃก",'plugin.php?identifier=marry&module=marry&index=manager');
- }//ดหดฆทภึนึุธดว๓ป้
- $sentinfo = $db->fetch_array($imagesquery);
- if($sentinfo[uid] == $zqz[uid]){
- marry_showmessage("ฒปฤธ๚ืิผบฝแป้ฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- if ($sentinfo[hw]) {
- marry_showmessage("ฤ๚ตฤาโึะศหาัพญสวำะผาสาตฤศหมหฃฌฑพษ็ว๘ฝ๛ึนึุป้ฃกว๓ป้สงฐฃฌว๋ทตปุกฃ");
- }
- $db->query("insert into {$tablepre}qiuhun (username,tousername,addtime,message,content,dlg) values ('$discuz_user','$touser','$timestamp','$qhmsg','$sCheckSel','0')");
- $sendtitle='นงฯฒนงฯฒฃก';
- $sendtitle.=$zqz[gender]==1?' หงธ็ ':' รภลฎ ';
- $sendmessage=$sendtitle.'[url='.$boardurl.'space.php?username='.$discuz_user.'][b][color=blue]'.$discuz_user.'[/color][/b][/url] ฯ๒ฤ๚ว๓ป้มหฃกธฯฟ์ศฅ[url='.$boardurl.'plugin.php?identifier=marry&module=marry&index=manager]ิยภฯฐๆฟ้[/url]ฟดฟดฐษฃก';
- $sendtitle.=$discuz_user.' ฯ๒ฤ๚ว๓ป้มหฃก';
- $uid = $db->result_first("SELECT uid FROM {$tablepre}members WHERE username='$sentinfo[username]'");
- sendpm($uid, $sendtitle,$sendmessage, $discuz_uid);
- marry_showmessage("นงฯฒนงฯฒฃกฤ๚าัพญณษนฆตุฯ๒ <font color=blue> $sentinfo[username] </font>ว๓ป้,ว๋ฤอะฤตศดถิทฝตฤปุำฆฐษกฃ","plugin.php?identifier=marry&module=marry");
- }
- ?>
Sao chép mã Ai dịch được dịch phát  |
|