<div class="container clearfix">
        <h2 class="page-title"><?php 
print_content($content['alternative-page-title']);
?>
</h2>
        <?php 
while (have_posts()) {
    the_post();
    ?>
            <article>
                <?php 
    the_masked_image($content['contact-custom-content']['form-image']);
    ?>

                <h4><?php 
    print_content($content['contact-custom-content']['form-entry-paragraph']);
    ?>
</h4>

                <?php 
    the_content();
    ?>
            </article>
            <aside>
                <section class="twitter-feed">
                    <?php 
    echo $content['social-feeds']['twitter-feed'];
    ?>
                </section>
                <section class="facebook-feed">
                    <?php 
        <p class="bold"><?php 
print_content($content['subtitle-paragraph']);
?>
</p>
        <h2 class="page-title"><?php 
print_content($content['alternative-page-title']);
?>
</h2>

        <section class="section-text">
            <h3><?php 
print_content($content['main-paragraph']);
?>
</h3>
            <p><?php 
print_content($content['secondary-paragraph']);
?>
</p>
        </section>
        <section class="section-form">
            <div class="round-container">
                <div>
                    <h3>Ask your question</h3>

                    <?php 
while (have_posts()) {
    the_post();
    // Include the page content template.
    the_content();
}
?>
示例#3
0
                } else {
                    if ($row["genome_id"] && !$row["previous_edit_id"]) {
                        print " ({$genome_name} added)";
                    } else {
                        if ($row["disease_id"]) {
                            print " (" . htmlspecialchars($row["disease_name"]) . ")";
                        }
                    }
                }
            }
        }
        print " -- {$version_link}";
        print "</LI>\n";
        if (!$_GET["all"] && ++$output_count >= 30) {
            print "<SPAN>&nbsp;<BR />\n";
            foreach (array("", "&all=1") as $all) {
                print "<BUTTON onclick=\"\$('busysignal').removeClassName('csshide'); this.disabled = true; new Ajax.Updater (this.parentNode, 'edits?" . htmlentities(ereg_replace('&?(before_edit_id|bareli)=[0-9]+', '', $_SERVER[QUERY_STRING])) . "&before_edit_id={$row[edit_id]}&bareli=1{$all}', { onFailure: function() { this.disabled = false; \$('busysignal').addClassName('csshide'); } }); return false;\">" . ($all == "" ? "Next page" : "Show all") . "</BUTTON> &nbsp; \n";
            }
            print " <IMG style=\"vertical-align: middle;\" id=\"busysignal\" class=\"csshide\" src=\"/img/busy.gif\" width=\"16\" height=\"16\" alt=\"\" /></SPAN>\n";
            break;
        }
    }
    if (!$_GET["bareli"]) {
        print "</UL>\n";
    }
}
if ($_GET["bareli"]) {
    print_content("");
} else {
    go();
}
                            <a href="#<?php 
    echo $page->post_name;
    ?>
" class="tab-header clearfix">
                                <div class="icon-container left">
                                    <?php 
    the_thumbnail_swapping_images($page->ID, 'page-thumbnails', 'default_images');
    ?>
                                </div>
                                <div class="text-container left">
                                    <h3><?php 
    print_content($page->post_title);
    ?>
</h3>
                                    <span> <?php 
    print_content($page_content['page-excerpt']);
    ?>
 </span>
                                </div>
                            </a>
                            <div class="tab-content">

                            </div>
                        </div>

                    <?php 
}
?>
                </div>
            </aside>
    </section>
?>
</p>
                <?php 
the_masked_image($content['bottom-middle-call-to-action-image']);
?>
            </a>


            <a href="<?php 
print_content($content['bottom-right-call-to-action-link']);
?>
" class="text-container">
                <span><?php 
print_content($content['bottom-right-title']);
?>
 <i class="fa fa-angle-double-right"></i></span>
                <p><?php 
print_content($content['bottom-right-paragraph']);
?>
</p>
                <?php 
the_masked_image($content['bottom-right-call-to-action-image']);
?>
            </a>

        </div>
    </div>

<?php 
// survey_include();
get_footer();
示例#6
0
    foreach ($content['testimonial-list'] as $testimonial) {
        ?>
                        <div class="testimonial-box
                                <?php 
        echo $count % 3 == 0 ? 'arrow-bottom-right' : '';
        ?>
                                <?php 
        echo $count % 3 == 1 ? 'arrow-top-left' : '';
        ?>
                                <?php 
        echo $count % 3 == 2 ? 'arrow-top-right' : '';
        ?>
                            ">
                            <em><?php 
        print_content($testimonial['quote']);
        ?>
</em>
                            <b><?php 
        print_content($testimonial['author']);
        ?>
</b>
                        </div>
                    <?php 
        $count++;
    }
}
?>
            </section>
        </article>

    
 */
wp_enqueue_style('role-modeling-css', get_stylesheet_directory_uri() . '/css/pages/role-modeling.css');
wp_enqueue_style('video-tabs', get_stylesheet_directory_uri() . '/css/modules/video-tabs.css');
wp_enqueue_script('video-tabs', get_stylesheet_directory_uri() . '/js/modules/video-tabs.js', '', '', true);
$content = get_custom_content(get_the_ID(), 'role-modeling-custom-content');
get_header();
?>


    <div class="container clearfix">
        <h1 class="page-title"><?php 
print_content($content['alternative-page-title']);
?>
</h1>
        <p class="subtitle"><?php 
print_content($content['subtitle-paragraph']);
?>
</p>
        <section class="section-video video-tabs">
            <article class="video-main clearfix">
                <?php 
the_videos('role-modeling-videos', 'role_modeling_main_video');
?>
            </article>

            <aside class="video-thumbs-container">
                <img src="<?php 
echo get_stylesheet_directory_uri();
?>
/images/moral-tv.png" class="moral-tv"/>
                <div class="shadow-div scroll-top">
 function content_class($site)
 {
     $this->site = $site;
     $this->engine = $this->site->engine;
     $query = 'SELECT * FROM `nodes_catalog` WHERE `visible` = 1';
     $res = $site->engine->mysql($query);
     if ($site->get[0] != "content") {
         $site->menu .= '<a href="/content">' . $GLOBALS["Lang"]["Content"] . '</a>
         ';
     } else {
         $site->menu .= '<a href="/content"><b>' . $GLOBALS["Lang"]["Content"] . '</b></a>
         ';
     }
     if ($site->get[0] != "content") {
         $link = $site->get[0];
         if (!empty($site->get[1])) {
             $site->content = engine::error();
             return;
         }
     } else {
         if (!empty($site->get[2])) {
             $site->content = engine::error();
             return;
         }
         $link = $site->get[1];
     }
     $flag = 0;
     while ($data = mysql_fetch_array($res)) {
         $flag = 1;
         if ($link == $data["url"]) {
             $site->menu .= '<a href="/' . $data["url"] . '"><b>' . $data["caption"] . '</b></a>
         ';
         } else {
             $site->menu .= '<a href="/' . $data["url"] . '">' . $data["caption"] . '</a>
         ';
         }
     }
     if (!$flag) {
         $site->menu = '';
     }
     if ($site->get[0] != "content" || !empty($site->get[1]) && $site->get[0] == "content") {
         // print catalog
         $query = 'SELECT * FROM `nodes_catalog` WHERE `url` = "' . $link . '"';
         $res = $site->engine->mysql($query);
         $data = mysql_fetch_array($res);
         if (!empty($data)) {
             $site->title = $data["caption"] . ' - ' . $site->title;
             $site->description = strip_tags($data["text"]);
             if (!empty($data["img"])) {
                 $site->img = "/img/data/big/" . $data["img"];
             }
             $query = 'SELECT * FROM `nodes_content` WHERE `cat_id` = "' . $data["id"] . '"';
             $res = $site->engine->mysql($query);
             if (!$data["visible"]) {
                 $site->menu = '';
             }
             $site->content .= '<h1>' . $data["caption"] . '</h1><br/>' . '<br/>';
             $flag = 0;
             //  print articles
             while ($d = mysql_fetch_array($res)) {
                 $flag = 1;
                 require_once "engine/functions/print_preview.php";
                 $site->content .= print_preview($d);
             }
             if ($flag) {
                 $site->content .= '<div style="clear:both;"></div>';
             } else {
                 //  print catalog
                 if (!empty($data["img"])) {
                     $site->content .= '<div id="article">
                         <div style="float:left; margin-right: 10px; margin-left: 10px;">
                             <img src="/img/data/big/' . $data["img"] . '" class="img" />
                         </div>
                         <div class="text">
                             ' . $data["text"] . '
                         </div>
                     </div>';
                 } else {
                     $site->content .= '<div id="article">
                         <div class="text">
                             ' . $data["text"] . '
                         </div>
                     </div>';
                 }
                 $site->content .= '<div style="clear:both;"></div>';
             }
         } else {
             $query = 'SELECT * FROM `nodes_content` WHERE `url` = "' . $link . '"';
             $res = $site->engine->mysql($query);
             $data = mysql_fetch_array($res);
             if (empty($data)) {
                 $query = 'UPDATE `nodes_catch` SET `interval` = "-2" WHERE `url` = "' . $_SERVER["SCRIPT_URI"] . '"';
                 $site->engine->mysql($query);
                 $site->engine->error();
                 exit;
             } else {
                 require_once "engine/functions/print_content.php";
                 $site->title = $data["caption"] . ' - ' . $site->title;
                 $site->description = strip_tags($data["text"]);
                 if (!empty($data["img"])) {
                     $site->img = "/img/data/big/" . $data["img"];
                 }
                 $query = 'SELECT * FROM `nodes_catalog` WHERE `id` = "' . $data["cat_id"] . '"';
                 $r = engine::mysql($query);
                 $d = mysql_fetch_array($r);
                 $site->content .= '<h1>' . $data["caption"] . '</h1><br/>';
                 $site->content .= print_content($data);
                 $site->content .= '
                     <div style="clear:both;"></div>
                     <br/>
                     ';
                 require_once "engine/functions/print_preview.php";
                 $query = 'SELECT * FROM `nodes_content` WHERE `cat_id` = "' . $data["cat_id"] . '" AND `id` <> "' . $data["id"] . '" ORDER BY `date` DESC LIMIT 0, 3';
                 $res = $site->engine->mysql($query);
                 $count = 0;
                 while ($d = mysql_fetch_array($res)) {
                     $count++;
                     $site->content .= print_preview($d);
                 }
                 if ($count < 3) {
                     $query = 'SELECT * FROM `nodes_content` WHERE `cat_id` <> "' . $data["cat_id"] . '" ORDER BY `date` DESC LIMIT 0, 3';
                     $res = $site->engine->mysql($query);
                     while ($d = mysql_fetch_array($res)) {
                         if ($count++ > 3) {
                             break;
                         }
                         $site->content .= print_preview($d);
                     }
                 }
                 $site->content .= '
                     <div style="clear:both;"></div>
                     ';
             }
         }
     } else {
         require_once "engine/functions/print_preview.php";
         $site->title = $GLOBALS["Lang"]["Content"] . ' - ' . $site->title;
         $site->content .= '<h1>' . $GLOBALS["Lang"]["Content"] . '</h1><br/><br/>';
         $query = 'SELECT * FROM `nodes_content` ORDER BY `date` DESC';
         $res = engine::mysql($query);
         $flag = 0;
         while ($data = mysql_fetch_array($res)) {
             $flag = 1;
             $site->content .= print_preview($data);
         }
         if ($flag) {
             $site->content .= '<div style="clear:both;"></div>';
         } else {
             $site->content = '<div style="padding-top: 70px; padding-bottom: 70px;">' . $GLOBALS["Lang"]["No articles found"] . '<div>';
         }
     }
 }
示例#9
0
                <li class="list-item">
                    <a href="<?php 
print_content($content['product-5-link']);
?>
" target="_blank"><?php 
the_masked_image($content['product-5-image']);
?>
</a>
                    <span><?php 
print_content($content['product-5-title']);
?>
</span>
                </li>
                <li class="list-item">
                    <a href="<?php 
print_content($content['product-6-link']);
?>
" target="_blank"><?php 
the_masked_image($content['product-6-image']);
?>
</a>
                    <span><?php 
print_content($content['product-6-title']);
?>
</span>
                </li>
            </ul>
       </section>
    </div>
<?php 
get_footer();
示例#10
0
 * Template Name: Static Page
 */
wp_enqueue_style('about-css', get_stylesheet_directory_uri() . '/css/pages/static.css');
$content = get_custom_content(get_the_ID(), 'static-custom-content');
get_header();
?>

    <div class="container clearfix">
        <?php 
while (have_posts()) {
    the_post();
    ?>
        <h1 class="page-title"><?php 
    print_content($content['alternative-page-title']);
    ?>
</h1>
        <p class="text-center"><?php 
    print_content($content['subtitle']);
    ?>
</p>
        <section class="section-text">
            <?php 
    the_content();
    ?>
        </section>
        <?php 
}
?>
    </div>
<?php 
get_footer();
示例#11
0
    ?>
">
                                <?php 
    print_content($page->post_title);
    ?>
                                <i class="fa fa-angle-double-right"></i>
                            </a>
                            <span> <?php 
    echo $page_content['page-excerpt'];
    ?>
 </span>
                        </div>

                    </article>
                <?php 
    $count++;
}
?>
            </div>
            <div class="background-center">
                <div class="round-text-container">
                    <span><?php 
print_content($content['central-title']);
?>
</span>
                </div>
            </div>
        </section>
    </div>
<?php 
get_footer();
示例#12
0
            <div class="text-container">
                <h3 class="bold text-blue"><?php 
print_content($content['bottom-right-title']);
?>
</h3>
                <p><?php 
print_content($content['bottom-right-paragraph']);
?>
</p>
                <?php 
if ($content['bottom-right-call-to-action']) {
    ?>
                    <a href="<?php 
    print_content($content['bottom-right-call-to-action-link']);
    ?>
">
                        <span class="text-blue"><?php 
    print_content($content['bottom-right-call-to-action']);
    ?>
</span>
                        <span class="btn-blue"><i class="fa fa-angle-double-right"></i></span>
                    </a>
                <?php 
}
?>
            </div>
        </section>
    </div>

<?php 
get_footer();
示例#13
0
                </div>
                <div class="text-container">
                    <p><?php 
print_content($content['green-circle-right-paragraph']);
?>
</p>
                </div>
            </div>
            <div class="bottom clearfix">
                <div class="round-container blue-container">
                    <span class="bold"><?php 
print_content($content['blue-circle-region']);
?>
</span>
                </div>
                <div class="text-container">
                    <p><?php 
print_content($content['blue-circle-right-paragraph']);
?>
</p>
                </div>
            </div>
        </section>
        <section class="section-video">
            <?php 
the_videos('about-videos', 'about_video');
?>
        </section>
    </div>
<?php 
get_footer();
示例#14
0
}
?>
                <?php 
if ($content['under-video-col-2']) {
    ?>
                    <p class="middle paragraph col"><?php 
    print_content($content['under-video-col-2']);
    ?>
</p>
                <?php 
}
?>
                <?php 
if ($content['under-video-col-3']) {
    ?>
                    <p class="paragraph col"><?php 
    print_content($content['under-video-col-3']);
    ?>
</p>
                <?php 
}
?>
                <p class="last paragraph">
                    <?php 
print_content($content['last-paragraph']);
?>
                </p>
            </section>
        </article>

    
示例#15
0
</em>
                            <b><?php 
        print_content($testimonial['author']);
        ?>
</b>
                        </div>
                    <?php 
        $count++;
    }
}
?>
            </section>

            <div class="btn-container">
                <?php 
print_content($content[$tdLayoutId]['mid-region']);
?>
            </div>
            <section class="section-video video-tabs clearfix">
                <article class="video-main clearfix">
                    <?php 
the_videos($videoCategory, 'main_video');
?>
                </article>
                <aside class="shadow-div scroll-top">
                    <div class="video-thumbs">
                        <?php 
the_videos($videoCategory, 'thumb_video');
?>

                    </div>
 <?php 
        the_time(sprintf(__('%s @ %s', 'wp-side-comments'), get_option('date_format'), get_option('time_format')));
        ?>
 <?php 
        _e('na', 'wp-side-comments');
        ?>
 <?php 
        print_categories('<u>', '</u>');
        ?>
 | <u><a href='#comments_controls'><?php 
        print_comments_number();
        ?>
</a></u></p>
					<div id="BlogContent"><?php 
        $regex = '|(<p)[^>]*(>)|';
        $paragraphs = preg_split($regex, print_content(false));
        global $CTLT_WP_Side_Comments;
        if (!is_object($CTLT_WP_Side_Comments)) {
            $CTLT_WP_Side_Comments = new CTLT_WP_Side_Comments();
        }
        $sidecomments = $CTLT_WP_Side_Comments->getCommentsData(get_the_ID());
        if (is_array($sidecomments) && array_key_exists('comments', $sidecomments) && is_array($sidecomments['comments'])) {
            $sidecomments = $sidecomments['comments'];
        } else {
            $sidecomments = array();
        }
        for ($i = 1; $i < count($paragraphs); $i++) {
            echo sprintf('<p class="commentable-section" data-section-id="%d">', $i) . $paragraphs[$i];
            //echo print_r();
            if (array_key_exists($i, $sidecomments)) {
                $comments = $sidecomments[$i];
示例#17
0
//    Pastèque Web back office
//
//    Copyright (C) 2013 Scil (http://scil.coop)
//
//    This file is part of Pastèque.
//
//    Pastèque is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    Pastèque is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with Pastèque.  If not, see <http://www.gnu.org/licenses/>.
namespace Pasteque;

switch ($_GET['w']) {
    case 'pdf':
        require_once PT::$ABSPATH . "/lib/fpdf17/fpdf.php";
        //header("Content-type: text/pdf");
        break;
    case 'display':
    default:
        break;
}
print_content($_GET['m'], $_GET['n']);
示例#18
0
</p>
                <?php 
}
?>
            </div>
            <span class="bold text-orange space-bottom-45"><?php 
print_content($content['alternative-page-title']);
?>
</span>

            <p><?php 
print_content($content['main-paragraph']);
?>
</p>
            </br>
            <a class="cta text-orange" href="<?php 
print_content($content['call-to-action-link']);
?>
">
                <span class="bold"><?php 
print_content($content['call-to-action-text']);
?>
</span>
                <span class="btn-round-orange" href=""><i class="fa fa-angle-double-right"></i></span>
            </a>

        </section>
    </div>

<?php 
get_footer();
示例#19
0
        the_post();
        ?>

			<h1 class="entry-title">
				<?php 
        the_title();
        ?>
			</h1>

			
		</header>	

		<div class="entry-content">

			<?php 
        print_content();
        ?>

		</div>

	<?php 
    }
    ?>
	
	
	<footer class="footer">
	
		
	
		<?php 
} else {
示例#20
0
文件: index.php 项目: hiisty/kirppari
<?php

require 'functions.php';
print print_header();
print print_navi();
print print_content($_GET['page']);
print print_footer();