Server IP : 213.176.29.180 / Your IP : 3.23.101.241 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/webtaragh/public_html/wp-content/plugins/gravityview/templates/entries/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php /** * Display a single entry when using a table template * * @global \GV\Template_Context $gravityview */ if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) { gravityview()->log->error( '{file} template loaded without context', array( 'file' => __FILE__ ) ); return; } \GV\Mocks\Legacy_Context::push( array( 'view' => $gravityview->view ) ); gravityview_before( $gravityview ); ?><?php if ( $link = gravityview_back_link( $gravityview ) ) { ?><p class="gv-back-link"><?php echo $link; ?></p><?php } ?> <div class="<?php gv_container_class( 'gv-table-view gv-table-container gv-table-single-container', true, $gravityview ); ?>"> <table class="gv-table-view-content"> <?php if ( $gravityview->fields->by_position( 'single_table-columns' )->by_visible( $gravityview->view )->count() ): ?> <thead> <?php gravityview_header( $gravityview ); ?> </thead> <tbody> <?php $gravityview->template->the_entry(); ?> </tbody> <tfoot> <?php gravityview_footer( $gravityview ); ?> </tfoot> <?php endif; ?> </table> </div><?php gravityview_after( $gravityview ); \GV\Mocks\Legacy_Context::pop();