403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.119.108.165
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mobilecreationz.com/wp-content/plugins/e-signature/views/documents/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mobilecreationz.com/wp-content/plugins/e-signature/views/documents/edit-form.php
<?php
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
?>
<?php
// To default a var, add it to an array
$vars = array(
    'form_head', // will default $data['form_head']
    'action',
    'more_options',
    'pdf_options',
    'form_tail'
);
$this->default_vals($data, $vars);
?>
<div id="page-loader-admin" class="cf" style="display:none;">
    <div class="span">
        <h2 class="cf"> <?php
$user = new WP_E_User();
$admin_user = $user->getUserByWPID(get_current_user_id());
echo $admin_user->first_name;
?> , <?php _e('we\'re preparing your document... sip some coffee (or tea) while you wait', 'esig'); ?> </h2>
        <div class="coffee_cup"></div>
    </div>
</div>

<h2 class="esign-form-header"><?php _e('1. Enter your documents name', 'esig'); ?></h2>

<form method="post" class="document-form" id="document_form" enctype="multipart/form-data">

<?php echo $data['form_head']; ?>

     <input type="hidden" name="document_id" id="document_id" value="<?php echo $data['document_id']; ?>" />

    <input type="hidden" name="document_action" id="document_action" value="<?php echo $data['action']; ?>" />


    <div id="titlediv">
        <div id="titlewrap">
            <input type="text" name="document_title" id="document-title" size="30" placeholder="Enter the document's name here" class="text-input span4" value="<?php echo esc_html($data['document_title']); ?>" />
        </div>
    </div>


    <div class="add_form_matt">				
        <h2 class="esign-form-header"><?php _e('2. What needs to be signed?', 'esig'); ?> <span class="settings-title"><?php _e('(copy and paste the content below)', 'esig'); ?></span></h2>

<?php echo $data['document_editor']; ?>
    </div>

    <div class="esign-form-panel basic_esign">
        <div class="invitations-container">
            <div class="invitations-container-title">
                <div class="need_to_sign">
                    <a href="#" class="tooltip">
                        <img src="<?php echo $data['ESIGN_ASSETS_DIR_URI']; ?>/images/help.png" height="20px" width="20px" align="left" />
                        <span>
<?php _e('Each signer is sent a signer specific URL and email invite to sign your document.', 'esig'); ?>
                        </span>
                    </a>
                </div>
                <div class="need_to_sign_right">
                    <h2 class="esign-form-header"><?php _e('3. Who needs to sign this document?', 'esig'); ?></h2>
                </div>
            </div>
            <div class="af-inner-doc" id="document-invitation">
               
                <?php
                   $inviteObj = new WP_E_Invite();
                   echo $inviteObj->reciepent_list($data['document_id']) ; 
                ?>
               
            </div>
          
        </div>
        
    </div>

    <!-- Start of Meta Box -->
    <div id="postimagediv" class="postbox">
        <h3 class="hndle"><span><?php _e('Document Options', 'esig'); ?></span></h3>
        <div class="esig-inside">
            
            <?php echo apply_filters('esig_owner_change_option','',$data['document_id']); ?>
            
            
            

            <p>
                <a href="#" class="tooltip">
                    <img src="<?php echo $data['ESIGN_ASSETS_DIR_URI']; ?>/images/help.png" height="20px" width="20px" align="left" />
                    <span>
<?php _e('Receive an email notification everytime a signature is added to this document.', 'esig'); ?>
                    </span>
                </a>
                <input type="checkbox" <?php echo $data['notify_check']; ?> id="notify" name="notify"><?php _e('Notify me when a signature is added', 'esig'); ?>
                <?php echo apply_filters('esig-document-notification-content','',array("document_id"=>$data['document_id']));  ?>
            </p>

            <p>
                <a href="#" class="tooltip">
                    <img src="<?php echo $data['ESIGN_ASSETS_DIR_URI']; ?>/images/help.png" height="20px" width="20px" align="left" />
                    <span>
<?php _e('Selecting this option will automatically attach your signature from the WP E-Signature admin panel to this document.', 'esig'); ?>
                    </span>
                </a>
                <input type="checkbox" <?php echo $data['add_signature_check']; ?> id="add_signature" <?php echo $data['add_signature_select']; ?> name="add_signature"><?php echo $data['document_add_signature_txt']; ?>
            </p>


<?php echo $data['more_options']; ?>

            <?php echo $data['more_contents']; ?>

            <p id="esignadvanced"><a href="#"><?php _e('(+) Advanced eSign Settings', 'esig'); ?></a></p>
            <p id="esignadvanced-hide" style="display:none"><a href="#"><?php _e('(-) Hide Advanced eSign Settings', 'esig'); ?></a></p>

            <span id="advanced-settings">
                <p>
                <h4><?php _e('Print Document button advanced options:', 'esig'); ?></h4>

                <select name="esig_print_option" data-placeholder="Choose a Option..." class="esig-select2" style="width:500px;" tabindex="9">
                    <?php $print_gl_option = WP_E_General::get_document_print_button(esigget('document_id',$data)); ?>
                    <option value="1" <?= ($print_gl_option == 1)? 'selected' : null ;  ?>><?php _e('Only display \'Print Document\' button when document is signed by everyone', 'esig'); ?></option>
                    <option value="2" <?= ($print_gl_option == 2)? 'selected' : null ;  ?>><?php _e('Hide \'Print Document\' button always, no matter what.', 'esig'); ?></option>
                    <option value="3" <?= ($print_gl_option == 3)? 'selected' : null ;  ?>><?php _e('Display \'Print Document\' button always, no matter what.'); ?></option>
                    <option value="4" <?= ($print_gl_option == 4)? 'selected' : null ;  ?>><?php _e('Only Display \'Print Document\' while document waiting for signature.'); ?></option>
                </select>
                </p>

<?php echo $data['pdf_options']; ?>

                <?php echo $data['advanced_more_options']; ?>

            </span>
        </div>
    </div>
    <!-- End of meta box -->
<?php
echo apply_filters('esig-add-document-form-meta-box', '');
?>

    <div id="esig_submit_section" class="esig-colum-conainer">
        <span class="esig-left">
            <input type="submit" value="Save as draft" class="submit button button-secondary button-large" id="submit_save" name="save">
            <input type="submit" value="Send Document" class="submit button button-primary button-large" id="submit_send"  name="send">
        </span>
        
<?php if (WP_E_General::is_auto_save_enabled()): ?>

            <span class="esig-right" style="display:none;" id="esig-preview-document">
                <a id="esig-preview-link" href="<?php echo site_url(); ?>?page_id=<?php echo WP_E_Sig()->setting->get_default_page(); ?>&esigpreview=1&document_id=<?php echo $data['document_id']; ?>&mode=1" target="_blank" class="submit button esig-preview button-large"><?php _e(' Preview Document', 'esign'); ?> </a>
            </span>

<?php endif; ?>
        
    </div>

Youez - 2016 - github.com/yon3zu
LinuXploit