พัฒนาโดย : romano,Shredder
Version : 1.0.1
phpBB Version(s) : phpBB 3.0 ขึ้นไป
ดาวน์โหลดได้ที่ : https://www.phpbb.com/community/viewtop ... &t=2101152
เปิดไฟล์: posting.php
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC";
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
โค้ด: เลือกทั้งหมด
$message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh);
โค้ด: เลือกทั้งหมด
foreach ($_FILES as $form_name => $value)
{
$message_parser->parse_attachments($form_name, $mode, $forum_id, $submit, $preview, $refresh);
}
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
$this->filename_data['filecomment'] = utf8_normalize_nfc(request_var('filecomment', '', true));
โค้ด: เลือกทั้งหมด
$filecomment = str_replace('fileupload', 'filecomment', $form_name);
$this->filename_data['filecomment'] = utf8_normalize_nfc(request_var($filecomment, '', true));
โค้ด: เลือกทั้งหมด
$actual_comment_list = utf8_normalize_nfc(request_var('comment_list', array(''), true));
โค้ด: เลือกทั้งหมด
$comment_list = str_replace('fileupload', 'comment_list', $form_name);
$actual_comment_list = utf8_normalize_nfc(request_var($comment_list, array(''), true));
โค้ด: เลือกทั้งหมด
$this->warn_msg[] = $error_msg;
โค้ด: เลือกทั้งหมด
$this->warn_msg[] = $_FILES[$form_name]['name'] . ' => ' . $error_msg;
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
AND in_message = 0";
โค้ด: เลือกทั้งหมด
AND in_message = 0
ORDER BY attach_id ASC";
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
[codephp] ORDER BY filetime DESC, post_msg_id ASC';[/code]
ค้นหาในแถว
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC;
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC";
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
โค้ด: เลือกทั้งหมด
$message_parser->parse_attachments('fileupload', $action, 0, $submit, $preview, $refresh, true);
โค้ด: เลือกทั้งหมด
foreach ($_FILES as $form_name => $value)
{
$message_parser->parse_attachments($form_name, $action, 0, $submit, $preview, $refresh, true);
}
ค้นหา
โค้ด: เลือกทั้งหมด
ORDER BY filetime DESC, post_msg_id ASC";
โค้ด: เลือกทั้งหมด
filetime
โค้ด: เลือกทั้งหมด
attach_id
ค้นหา
โค้ด: เลือกทั้งหมด
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="upload = true;" />
โค้ด: เลือกทั้งหมด
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="button" class="button2" name="files_" value="+" style="width: 40px" onclick="add_more_upload()" title="" />
โค้ด: เลือกทั้งหมด
<dl>
<dt><label for="filecomment">{L_FILE_COMMENT}:</label></dt>
<dd><textarea name="filecomment" id="filecomment" rows="1" cols="40" class="inputbox autowidth">{FILE_COMMENT}</textarea></dd>
</dl>
โค้ด: เลือกทั้งหมด
<input type="hidden" name="proxid" id="proxid" value="1" />
<div id="multiple"></div>
<dl>
<dd>
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="upload = true;" />
</dd>
</dl>
ค้นหา
โค้ด: เลือกทั้งหมด
var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
var show_panel = 'options-panel';
โค้ด: เลือกทั้งหมด
function remove_more_upload(id)
{
document.getElementById("multiple").removeChild(document.getElementById('multiple' + id));
}
function add_more_upload()
{
var id = document.getElementById('proxid').value;
var div = document.getElementById('multiple');
var childdiv = document.createElement("div");
childdiv.setAttribute('id','multiple'+ id);
var html = "<dl><dt><label for='fileupload'>{LA_FILENAME}:</label></dt><dd><input type='file' name='fileupload" + id + "' id='fileupload" + id + "' maxlength='{FILESIZE}' value='' class='inputbox autowidth' /><input type='button' class='button2' name='files_" + id + "' value='-' style='width: 40px' onclick='remove_more_upload(" + id + ")' title='' /></dd></dl><dl><dt><label for='filecomment'>{LA_FILE_COMMENT}:</label></dt><dd><textarea name='filecomment" + id + "' id='filecomment" + id + "' rows='1' cols='40' class='inputbox autowidth'>{FILE_COMMENT}</textarea></dd></dl>";
childdiv.innerHTML = html;
div.appendChild(childdiv);
document.getElementById('proxid').value++;
}