예제 #1
0
파일: 2.php 프로젝트: edvergara/sowsewme
<div id="wb_element_instance43" class="wb_element" style=" line-height: normal;"><h1 class="wb-stl-heading1">About us</h1></div><div id="wb_element_instance44" class="wb_element" style=" line-height: normal;"><p class="wb-stl-normal">Sow Sew Me is dedicated to serving us minions as a forum to openly discuss lawsuits.  Providing more niformation than simply offical documents.  Welcoming deeper insight by providing the abiltity to post discussions.</p>

<h2 class="wb-stl-heading2"> </h2>

<p> </p>

<p>Let's discuss this openly</p>

<p class="wb-stl-normal"> </p>

<p class="wb-stl-normal"> </p>
</div><div id="wb_element_instance45" class="wb_element"><img alt="" src="gallery_gen/719d6270ddc4f92a827bdc274ec2b9a0_280x290.png"></div><div id="wb_element_instance47" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(2);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance47");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance47").hide();
예제 #2
0
<p>I am also he guy who is coming up with most of the idea concepts for now, the other guys will start contributing ideas soon (koff koff are you listening, Josh?).­</p>

<p>Have fun playing our games and stay awesome.</p>
</div><div id="wb_element_instance70" class="wb_element" style=" line-height: normal;"><h3 class="wb-stl-heading3">Joshua Cleaver</h3>

<p>Amazing, fabulous and you can't touch this (Actual quote from josh himself)</p>

<p>This kid also comes up with a couple of ideas for games as well.</p>
</div><div id="wb_element_instance71" class="wb_element" style=" line-height: normal;"><h3 class="wb-stl-heading3">Joe Allen</h3>

<p>Lead music and audiom designer who apparently doesn't like putting his own bio up.</p>
</div><div id="wb_element_instance72" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(4);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance72");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance72").hide();
예제 #3
0
파일: news.php 프로젝트: edvergara/sowsewme
				var _siteProBadge = _siteProBadge || [];
				_siteProBadge.push({hash: "63d2f31540328c7b9d548035811246ad", cont: "wb_element_instance91"});

				(function() {
					var script = document.createElement("script");
					script.type = "text/javascript";
					script.async = true;
					script.src = "http://zyro.com/examples/getjs/";
					var s = document.getElementsByTagName("script")[0];
					s.parentNode.insertBefore(script, s);
				})();
				</script></div><div id="wb_element_instance92" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(news);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance92");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance92").hide();
예제 #4
0
        if (!$p->id) {
            continue;
        }
        $p = clone $p;
        $p->comment_title = htmlentities($comment->cite, ENT_QUOTES, "UTF-8") . " reply to: " . $p->title;
        $p->comment_body = htmlentities($comment->text, ENT_QUOTES, "UTF-8");
        $p->comment_date = $comment->created;
        $commentPages->add($p);
    }
    $rss = wire('modules')->get('MarkupRSS');
    $rss->title = wire('pages')->get('/')->headline . ' - ' . wire('page')->get('headline|title');
    $rss->itemTitleField = 'comment_title';
    $rss->itemDescriptionField = 'comment_body';
    $rss->itemDescriptionLength = 0;
    $rss->itemDateField = 'comment_date';
    $rss->render($commentPages);
}
/**********************************************************************************/
$limit = $page->quantity;
if ($input->urlSegment1) {
    // rss feed
    if ($input->urlSegment1 != 'rss') {
        throw new Wire404Exception();
    }
    renderCommentsRSS($limit);
} else {
    $start = ($input->pageNum - 1) * $limit;
    $headline = $page->get('headline|title');
    $content = $page->body . renderComments(findRecentComments($limit, $start), $limit);
    include "./main.inc";
}
예제 #5
0
    $statement->bind_param("sss", $userID, $reply, $username);
    $statement->execute();
    $statement->store_result();
    renderComments($_POST["tablename"]);
    exit;
}
if (isset($_POST["commentID"])) {
    require_once "includes/functions.php";
    global $mysqli;
    $commentID = $_POST["commentID"];
    $tablename = "reply_" . $_POST["tablename"];
    $statement = $mysqli->prepare("DELETE FROM {$tablename} WHERE id = ?");
    $statement->bind_param("i", $commentID);
    $statement->execute();
    $statement->store_result();
    renderComments($_POST["tablename"]);
    exit;
}
$title = "Comments and Suggested Items";
$loginRequired = true;
require "includes/header.php";
?>

<div class="container">
  <div class="row page-header">
    <div class="col-xs-12">
      <h1>Comment and Suggested Items Viewer</h1>
      <p class="lead">View what users are saying.</p>
    </div>
  </div>
예제 #6
0
				setTimeout(function() {
					alert("<?php 
    echo addcslashes($wb_form_send_state, "\\'\"&\n\r\t<>");
    ?>
");
				}, 1);
			<?php 
}
?>
	
			</script></div><div id="wb_element_instance55" class="wb_element" style=" line-height: normal;"></div><div id="wb_element_instance56" class="wb_element" style=" line-height: normal;"><p class="wb-stl-normal">You can contact us here to tell us about bugs or anything like that, or just to give us some advice. Or even, just give us some praise!</p>
</div><div id="wb_element_instance57" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(3);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance57");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance57").hide();
예제 #7
0
				var _siteProBadge = _siteProBadge || [];
				_siteProBadge.push({hash: "e1fe0694047690eb22dc8e62f5b55529", cont: "wb_element_instance104"});

				(function() {
					var script = document.createElement("script");
					script.type = "text/javascript";
					script.async = true;
					script.src = "http://zyro.com/examples/getjs/";
					var s = document.getElementsByTagName("script")[0];
					s.parentNode.insertBefore(script, s);
				})();
				</script></div><div id="wb_element_instance105" class="wb_element"><div></div></div><div id="wb_element_instance106" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(blog);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance106");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance106").hide();
예제 #8
0
			    		width: 710,
			    		height: 550,
						tweetLimit: "3",
						borderColor: "transparent",
						linkColor: "transparent"
					}
			    );
			}, 500);
			</script></div><div id="wb_element_instance27" class="wb_element" style=" line-height: normal;"><p class="wb-stl-normal">Please note that if you are using a domain that bans the use of social media then you won't be able to veiw our feed.</p>

<p class="wb-stl-normal">please check our twitter page when your internet usage isn't restricted.</p>
</div><div id="wb_element_instance28" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(1);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance28");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance28").hide();
예제 #9
0
				setTimeout(function() {
					alert("<?php 
    echo addcslashes($wb_form_send_state, "\\'\"&\n\r\t<>");
    ?>
");
				}, 1);
			<?php 
}
?>
	
			</script></div><div id="wb_element_instance84" class="wb_element" style=" line-height: normal;"></div><div id="wb_element_instance85" class="wb_element" style=" line-height: normal;"><p class="wb-stl-normal">If you find any bugs or glitches, could you please send us the bug and the exact steps to reproduce it. If you don't tell me how to produce it, i cant fix it.</p>
</div><div id="wb_element_instance86" class="wb_element" style="width: 100%;">
			<?php 
global $show_comments;
if (isset($show_comments) && $show_comments) {
    renderComments(5);
    ?>
			<script type="text/javascript">
				$(function() {
					var block = $("#wb_element_instance86");
					var comments = block.children(".wb_comments").eq(0);
					var contentBlock = $("#wb_main");
					contentBlock.height(contentBlock.height() + comments.height());
				});
			</script>
			<?php 
} else {
    ?>
			<script type="text/javascript">
				$(function() {
					$("#wb_element_instance86").hide();
예제 #10
0
{
    $date = $page->getUnformatted('date');
    $nextPost = $page->parent->child("date>{$date}, sort=date");
    $prevPost = $page->parent->child("date<{$date}, sort=-date");
    $out = "<div class='next-prev-posts'>";
    if ($prevPost->id > 0) {
        $out .= "<p class='prev-post'><span>&lt;</span> <a href='{$prevPost->url}'>{$prevPost->title}</a></p>";
    }
    if ($nextPost->id > 0) {
        $out .= "<p class='next-post'><a href='{$nextPost->url}'>{$nextPost->title}</a> <span>&gt;</span></p>";
    }
    $out .= "</div>";
    return $out;
}
// render our blog post and comments
$content = renderPosts($page) . renderComments($page->comments) . renderNextPrevPosts($page);
// get date info for creating link to archives page in subnav
$date = $page->getUnformatted('date');
$year = date('Y', $date);
$month = date('n', $date);
// if there are categories and/or tags, then make a separate nav for them
if (count($page->categories)) {
    $subnav .= renderNav(__('Related Categories'), $page->categories);
}
if (count($page->tags)) {
    $subnav .= renderNav(__('Related Tags'), $page->tags);
}
// subnav contains authors, archives and categories links
$subnavItems = array("{$config->urls->root}authors/{$page->createdUser->name}/" => $page->createdUser->get('title|name'), "{$config->urls->root}archives/{$year}/{$month}/" => strftime('%B %Y', $date));
$subnav .= renderNav(__('See Also'), $subnavItems);
include "./main.inc";