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 : |
<?php if (!defined('ABSPATH')) { exit; // Exit if accessed directly } ?> <?php // To default a var, add it to an array $vars = array( 'messages', // will default $data['messages'] 'form_head', '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> <form method="post" class="document-form" action="" id="document_form" enctype="multipart/form-data"> <h2 class="esign-form-header"><?php _e('1. Enter your documents name', 'esig'); ?></h2> <?php if (array_key_exists('messages', $data)) { echo $data['messages']; } ?> <?php echo $data['form_head']; ?> <?php $document_id = isset($_GET['document_id']) ? $_GET['document_id'] : null; /* if (empty($document_id)) { $document_id = $this->model->document_max()+1; }*/ ?> <input type="hidden" name="document_id" id="document_id" value="<?php echo $document_id; ?>" /> <input type="hidden" name="document_action" id="document_action" value="add" /> <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 $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($document_id) ; ?> </div> </div> <span class="settings-title"></span> </div> <div class="esign-form-document-panel"> <!-- Start of Meta Box --> <div id="postimagediv" class="postbox"> <h3 class="hndle"><span><?php _e('Document Options', 'esig'); ?></span></h3> <div class="esig-inside"> <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"=>'')); ?> </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" 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 document settings', 'esig'); ?></a></p> <p id="esignadvanced-hide" style="display:none"><a href="#"><?php _e('(-) Hide Advanced document 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="2"> <?php $print_gl_option = WP_E_General::get_global_print_option(); ?> <option value=""></option> <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.', 'esig'); ?></option> <option value="4" <?= ($print_gl_option == 4)? 'selected' : null ; ?>><?php _e('Only Display \'Print Document\' while document waiting for signature.', 'esig'); ?></option> </select> </p> <?php if (array_key_exists('pdf_options', $data)) { echo $data['pdf_options']; } ?> <?php if (array_key_exists('advanced_more_options', $data)) { echo $data['advanced_more_options']; } ?> </span> </div> </div> </div> <?php echo apply_filters('esig-add-document-form-meta-box', ''); ?> <!-- End of meta box --> <div id="esig_submit_section" class="esig-colum-conainer"> <span class="esig-left"> <input type="submit" value="Send Document" class="submit button button-primary button-large" id="submit_send" name="send"> <input type="submit" value="Save as draft" class="submit button button-secondary button-large" id="submit_save" name="save"> </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 $document_id; ?>&mode=1" target="_blank" class="submit button esig-preview button-large"><?php _e(' Preview Document', 'esign'); ?> </a> </span> <?php endif; ?> </div>