Thread: Major Additions - 8WayRun.Com - Media Library
View Single Post
  #2161  
Old 07-20-2011, 09:47 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

8WR_media_details_edit

HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>

<form action="media.php" name="vbform" method="post" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})">

<div class="mediahead">{vb:phrase media_details_edit}</div>
<div class="mediabody">
	<div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;">
		<b>{vb:phrase media_title}:</b>&nbsp;&nbsp;
		<input type="text" class="primary full textbox" name="title" style="width: 40%;" value="{vb:var media.title}" />&nbsp;&nbsp;
		<b>{vb:phrase media_category}:</b>&nbsp;&nbsp;
		<select class="primary full" name="category">{vb:raw catselect}</select>&nbsp;&nbsp;
		<b>{vb:phrase media_length}:</b>&nbsp;&nbsp;
		<input type="text" class="primary full textbox" name="minutes" style="width: 20px; text-align: right;" maxlength="3" value="{vb:var media.minutes}" /> min
		<input type="text" class="primary full textbox" name="seconds" style="width: 15px; text-align: right;" maxlength="2" value="{vb:var media.seconds}" /> sec
	</div>
	<div class="mediarow floatcontainer" style="padding: 10px; margin-top: {vb:stylevar media_margin}px;">{vb:raw messagearea}</div>

	<vb:if condition="$vbulletin->options[media_custom]">
	<div class="mediarow" style="margin-top: {vb:stylevar media_margin}px;">
		<vb:if condition="$vbulletin->options[media_custom1_name]">
			<span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom1_name}</b></span>
			<input type="text" class="primary full textbox" name="custom1" style="width: 70%;" value="{vb:var media.custom1}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom2_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom2_name}</b></span>
			<input type="text" class="primary full textbox" name="custom2" style="width: 70%;" value="{vb:var media.custom2}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom3_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom3_name}</b></span>
			<input type="text" class="primary full textbox" name="custom3" style="width: 70%;" value="{vb:var media.custom3}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom4_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom4_name}</b></span>
			<input type="text" class="primary full textbox" name="custom4" style="width: 70%;" value="{vb:var media.custom4}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom5_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom5_name}</b></span>
			<input type="text" class="primary full textbox" name="custom5" style="width: 70%;" value="{vb:var media.custom5}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom6_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom6_name}</b></span>
			<input type="text" class="primary full textbox" name="custom6" style="width: 70%;" value="{vb:var media.custom6}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom7_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom7_name}</b></span>
			<input type="text" class="primary full textbox" name="custom7" style="width: 70%;" value="{vb:var media.custom7}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom8_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom8_name}</b></span>
			<input type="text" class="primary full textbox" name="custom8" style="width: 70%;" value="{vb:var media.custom8}" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom9_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom9_name}</b></span>
			<input type="text" class="primary full textbox" name="custom9" style="width: 70%;" value="{vb:var media.custom9}" /><br />
		</vb:if>
	</div>
	</vb:if>

	<div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px;">
		<div style="float: right">
			<input type="radio" class="primary full radio" name="action" value="save" checked="checked" /> {vb:phrase media_save}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="radio" class="primary full radio" name="action" value="delete" /> {vb:phrase media_delete}
		</div>
		<div style="float: left"><b>{vb:phrase media_saveordelete}</b></div>
		(<i>{vb:phrase media_delete_info}</i> )
	</div>
	<div style="margin-top: {vb:stylevar media_margin}px; text-align: center;"><input type="submit" class="button" name="submit" value="{vb:phrase media_details_edit}" /></div>
</div>

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="details_data" />
<input type="hidden" name="mid" value="{vb:var media.mediaID}" />

</form>

<form action="media.php" method="post" enctype="multipart/form-data">

<div class="mediahead">{vb:phrase media_details_thumb}</div>
<div class="mediabody">
	<div class="mediarow floatcontainer">
		<div style="float: left; padding-right: {vb:stylevar media_margin}px; "><img src="{vb:var media.thumbnail}" border="0" alt="" /></div>
		<input type="file" class="primary full file" name="upload" size="50" />&nbsp;
		<input type="submit" class="button" name="submit" value="{vb:phrase media_details_upload}" /><br />
		<br />
		{vb:phrase media_details_info}
	</div>
</div>

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="details_thumb" />
<input type="hidden" name="mid" value="{vb:var media.mediaID}" />
</form>

8WR_media_submit

HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>

<div class="mediahead">{vb:phrase media_submit}</div>
<div class="mediabody">

	<form action="media.php" name="vbform" method="post">

	<div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;">
		<b>{vb:phrase media_url}:</b>&nbsp;&nbsp;
		<input type="text" class="primary full textbox" name="source" id="source" style="width: 65%;" value="{vb:var feed.source}" />&nbsp;&nbsp;
		<input type="submit" class="button" name="getxmlfeeds" id="getxmlfeeds" value="{vb:phrase media_submit_retrieve}" />
	</div>

	<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
	<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
	<input type="hidden" name="do" value="submit" />
	</form>

	<form action="media.php" name="vbform" method="post" onsubmit="return validate(); return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})">

	<div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;">
		<b>{vb:phrase media_title}:</b>&nbsp;&nbsp;
		<input type="text" class="primary full textbox" name="title" id="title" style="width: 40%;" value="{vb:var feed.title}" />&nbsp;&nbsp;
		<b>{vb:phrase media_category}:</b>&nbsp;&nbsp;
		<select class="primary full" name="category" id="category">{vb:raw catselect}</select>&nbsp;&nbsp;
		<b>{vb:phrase media_length}:</b>&nbsp;&nbsp;
		<input type="text" class="primary full textbox" name="minutes" id="minutes" style="width: 20px; text-align: right;" maxlength="3" value="{vb:var feed.minutes}" /> {vb:phrase media_min}
		<input type="text" class="primary full textbox" name="seconds" id="seconds" style="width: 15px; text-align: right;" maxlength="2" value="{vb:var feed.seconds}" /> {vb:phrase media_sec}
	</div>

<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
	<td style="padding-right: {vb:stylevar media_margin}px;" width="1%"><div class="mediarow" style="border: 0px; padding: 0px;" id="embed">{vb:raw feed.embed}</div></td>
	<td class="mediarow" valign="top">
		<div id="thumbnail_border" style="padding-bottom: 20px;<vb:if condition="!$feed">display: none;</vb:if>">
			<b>{vb:phrase media_thumbnail}:</b><br />
			<br />
			<img src="{vb:var feed.thumbnail}" border="0" name="thumbnail_image" id="thumbnail_image" width="150" alt="" />
		</div>
		<b>{vb:phrase media_tags}:</b><br />
		<br />
		<textarea class="primary full textarea" name="taglist" id="taglist" style="width: 90%; height: 128px;" cols="" rows="">{vb:var feed.taglist}</textarea><br />
		<div style="font-size: 80%; padding-top: 5px;">{vb:phrase media_tags_comma}</div>
	</td>
</tr>
</table>

	<div class="mediarow floatcontainer" style="padding: 10px; margin-top: {vb:stylevar media_margin}px;">{vb:raw messagearea}</div>

	<vb:if condition="$vbulletin->options[media_custom]">
	<div class="mediarow" style="margin-top: {vb:stylevar media_margin}px;">
		<vb:if condition="$vbulletin->options[media_custom1_name]">
			<span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom1_name}</b></span>
			<input type="text" class="primary full textbox" name="custom1" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom2_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom2_name}</b></span>
			<input type="text" class="primary full textbox" name="custom2" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom3_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom3_name}</b></span>
			<input type="text" class="primary full textbox" name="custom3" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom4_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom4_name}</b></span>
			<input type="text" class="primary full textbox" name="custom4" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom5_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom5_name}</b></span>
			<input type="text" class="primary full textbox" name="custom5" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom6_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom6_name}</b></span>
			<input type="text" class="primary full textbox" name="custom6" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom7_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom7_name}</b></span>
			<input type="text" class="primary full textbox" name="custom7" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom8_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom8_name}</b></span>
			<input type="text" class="primary full textbox" name="custom8" style="width: 70%;" value="" /><br />
		</vb:if>
		<vb:if condition="$vbulletin->options[media_custom9_name]">
			<br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom9_name}</b></span>
			<input type="text" class="primary full textbox" name="custom9" style="width: 70%;" value="" /><br />
		</vb:if>
	</div>
	</vb:if>

	<vb:if condition="$forum">
	<div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px;">
		<div style="float: right">
			(<i>{vb:phrase media_newthread_info, {vb:var forum.title}}</i> )
		</div>
		<div style="float: left">
			<input type="checkbox" class="primary full checkbox" name="newthread" value="newthread" />
			&nbsp;&nbsp;<b>{vb:phrase media_newthread}</b>
		</div>
	</div>
	</vb:if>

	<div style="text-align: center;"><input type="submit" class="button" name="submitbutton" id="submitbutton" value="{vb:phrase media_submit}" style="margin-top: {vb:stylevar media_margin}px; <vb:if condition="!$feed">display: none;</vb:if>" /></div>

	<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
	<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
	<input type="hidden" name="do" value="submit_data" />
	<input type="hidden" name="serviceID" id="serviceID" value="{vb:var feed.serviceID}" />
	<input type="hidden" name="serviceVAL" id="serviceVAL" value="{vb:var feed.serviceVAL}" />
	<input type="hidden" name="serviceVAL2" id="serviceVAL2" value="{vb:var feed.serviceVAL2}" />
	<input type="hidden" name="thumbnail" id="thumbnail" value="{vb:var feed.thumbnail}" />
	</form>

</div>

<script type="text/javascript" src="media/media_ajax_submit.js"></script>
<script type="text/javascript">
<!--
	vbphrase['retrieve_information'] = '{vb:phrase media_submit_retrieve}';
	vbphrase['retrieve_information_wait'] = '{vb:phrase media_submit_retrieve_wait}';
	vbphrase['media_validate_category'] = '{vb:phrase media_validate_category}';
	vbphrase['media_validate_title'] = '{vb:phrase media_validate_title}';
	vbphrase['media_validate_length'] = '{vb:phrase media_validate_length}';
	vbphrase['media_validate_desc'] = '{vb:phrase media_validate_desc}';
	vbphrase['media_validate_tags'] = '{vb:phrase media_validate_tags}';

	submit_init();
-->
</script>
Reply With Quote
Благодарность от:
puertoblack2003
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01376 seconds
  • Memory Usage 1,931KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_box_bit
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete