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>
<input type="text" class="primary full textbox" name="title" style="width: 40%;" value="{vb:var media.title}" />
<b>{vb:phrase media_category}:</b>
<select class="primary full" name="category">{vb:raw catselect}</select>
<b>{vb:phrase media_length}:</b>
<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}
<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" />
<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>
<input type="text" class="primary full textbox" name="source" id="source" style="width: 65%;" value="{vb:var feed.source}" />
<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>
<input type="text" class="primary full textbox" name="title" id="title" style="width: 40%;" value="{vb:var feed.title}" />
<b>{vb:phrase media_category}:</b>
<select class="primary full" name="category" id="category">{vb:raw catselect}</select>
<b>{vb:phrase media_length}:</b>
<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" />
<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>