Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- if (!defined( 'IN_CLIPBUCKET' )) {
- exit( 'Invalid access' );
- }
- $premium_opts = array( );
- if (!$_POST['make_premium']) {
- $checked = 'no';
- }
- if (has_access( 'allow_make_premium', true )) {
- $premium_opts['make_premium'] = array( 'title' => 'Make premium', 'id' => 'is_premium', 'name' => 'is_premium', 'type' => 'radiobutton', 'sep' => ' ', 'value' => array( 'no' => 'No', 'yes' => 'Yes', 'ppv' => 'PPV' ), 'extra_tags' => ' onclick="switchPremium(this)"', 'db_field' => 'is_premium' );
- if ($checked) {
- $premium_opts['make_premium']['checked'] = $checked;
- }
- $premium_opts['credits_required'] = array( 'title' => 'Credits required', 'id' => 'credits_required', 'name' => 'credits_required', 'type' => 'textfield', 'anchor_after' => 'credits_required_after', 'db_field' => 'credits_required' );
- $cpkgs = array( '' => '- Add video to premium-' );
- $pkgs = $paidSub->getPackages( array( 'is_collection' => 'yes' ) );
- if ($pkgs) {
- foreach ($pkgs as $p) {
- $cpkgs[$p['package_id']] = $p['pkg_title'];
- }
- }
- if (BACK_END) {
- $premium_opts['premium_cid'] = array( 'title' => 'Premium collection', 'id' => 'premium_cid', 'name' => 'premium_cid', 'type' => 'dropdown', 'value' => $cpkgs, 'db_field' => 'premium_cid' );
- }
- ..............................................................................
- ................................................
- ....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement