Example #1
0
}
?>
		<div class="wrapper-left wrapper-ajax-upload" style="width:100%; /*height:400px;*/ height:auto;">
			<div class="top-side tacenter">
				<div class="wrapper-photo">
					<?php 
echo tag('img', false, array('src' => $custom_image, 'img-progressive-type' => 'users'));
?>
				</div>
				<?php 
$method_name = ucwords($this->router->method);
if ($method_name == 'Profile') {
    ?>
	        				<div class="mt20">
	        	<?php 
    loadSubview('common/action_follow', array('user_id_viewer' => $user_id_viewer, 'follow_status' => $valuesUserFollowStatus));
    ?>
							</div>
				<?php 
}
if (!empty($_allow_upload)) {
    ?>
							<span class="btn btn-primary mt20 fileinput-button" style="margin:auto;">
						        <?php 
    echo tag('span', lang('change_profile_picture'));
    ?>
						        <input id="fileupload" data-show=".fu-show-after-upload" action-type="users" type="file" name="files" />
						    </span>
			    <?php 
    echo form_error('photo');
    ?>
Example #2
0
        $image = $value['PrimaryPhoto'];
        $title = $value['RecipeName'];
        $cuisine = $value['CuisineName'];
        $food_type = $value['FoodTypeName'];
        $recipe_intro = $value['RecipeIntro'];
        $user_id = $value['UserID'];
        $username = $value['UserName'];
        $cnt_love = $value['NumberOfLove'];
        $cnt_comment = $value['NumberOfComment'];
        $cnt_recook = $value['NumberOfRecook'];
        $cnt_view = $value['NumberOfView'];
        $flag_love = $value['FlagLove'];
        $flag_cookmark = $value['FlagCookmark'];
        $flag_recook = $value['FlagRecook'];
        $flag_creator = $value['FlagCreator'];
        loadSubview('recipe/item_recipe', array('counter' => $key, 'recipe_id' => $id, 'slug' => $slug, 'image' => $image, 'title' => $title, 'cuisine' => $cuisine, 'food_type' => $food_type, 'recipe_intro' => $recipe_intro, 'user_id' => $user_id, 'username' => $username, 'cnt_love' => $cnt_love, 'cnt_comment' => $cnt_comment, 'cnt_recook' => $cnt_recook, 'cnt_view' => $cnt_view, 'flag_love' => $flag_love, 'flag_cookmark' => $flag_cookmark, 'flag_recook' => $flag_recook, 'flag_creator' => $flag_creator));
    }
}
?>
						</ul>
					</div>
				</div>
			</div>
			<form id="formLoadMore" selector-target="#form-target-holder" role="form" action="recipe/find?<?php 
echo $param_get;
?>
" class="ajax-form tacenter mb20 disable-overlay ajax-load-more" method="post" accept-charset="utf-8">
				<?php 
echo tag('input', false, array('type' => 'hidden', 'name' => 'next_page', 'value' => $page + 1));
echo tag('input', false, array('type' => 'Submit', 'class' => 'hide'));
?>
Example #3
0
} else {
    echo tag('a', lang('create_recipe'), array('href' => $domain . '/users/login?redirect_after=recipe/add', 'data-title' => 'Login', 'class' => 'ajax-modal btn btn-success full-width mt5'));
}
?>
				</div>
				<div id="comment-container" class="hidden-print">
					<div class="mt20 ml15">
						<?php 
loadSubview('common/background_masker/comment');
?>
					</div>
				</div>
			</div>
			<div class="col-sm-3">
				<?php 
// loadSubview('users/related_recipe', array(
// 	'heading' => 'Chef yang Sama',
// 	'values' => $valuesRelatedByAuthor,
// ));
loadSubview('users/related_recipe', array('heading' => lang('related_recipe'), 'values' => $valuesRelatedRecipe));
loadSubview('common/ads');
?>
			</div>
		</div>
	</div>
</div>

<input type="hidden" id="recipeId" value="<?php 
echo $recipe_id;
?>
" />
Example #4
0
<?php

if (isset($sdk)) {
    if ($sdk['facebook']) {
        if (isset($sdk['facebook']['like_page'])) {
            loadSubview('sdk/view/facebook/like_page');
        }
        if (isset($sdk['facebook']['like_share'])) {
            loadSubview('sdk/view/facebook/like_share');
        }
    }
}
Example #5
0
<div class="container">
	<div class="big-wrapper bg-white pd20">
		<?php 
if (isset($alert)) {
    echo $alert;
}
echo tag('h2', 'Register', array('class' => 'tacenter mb10'));
?>
		<div class="wrapper-register">
			<div class="row">
				<div class="col-sm-6 col-sm-offset-3">
					<?php 
loadSubview('users/register');
?>
				</div>
			</div>
		</div>
	</div>
</div>
Example #6
0
<div class="container bg-white">
	<div class="big-wrapper bg-white pd20">
		<?php 
if (isset($alert)) {
    echo $alert;
}
echo tag('h2', lang('notification'));
?>
	</div>
	<div class="wrapper-notification bg-white">
		<ul class="no-ul-type">
			<?php 
if (isset($values) && !empty($values)) {
    foreach ($values as $value) {
        $notif_id = $value['NotificationID'];
        $notif = $value['NotificationName'];
        $notif_date = $value['NotificationDate'];
        $isRead = $value['isRead'];
        loadSubview('users/item_notification', array('notif_id' => $notif_id, 'notif' => $notif, 'notif_date' => $notif_date, 'isRead' => $isRead));
    }
} else {
    echo tag('h4', lang('data_not_available'), array('wrapTag' => 'li'));
}
?>
		</ul>
	</div>
</div>
        }
        ?>
					<li>
						<div class="row">
							<div class="col-sm-3">
								<?php 
        echo $userImage;
        ?>
							</div>
							<div class="col-sm-9">
								<?php 
        echo tag('a', $username, array('class' => 'fbold', 'title' => $username, 'href' => $domain . '/users/profile/' . $user_id . '/' . seoURL($username)));
        echo tag('p', $concat_follower_recipe, array('class' => 'stats'));
        ?>

								<div class="mt5">
									<?php 
        loadSubview('common/action_follow', array('user_id_viewer' => $user_id, 'follow_status' => '0'));
        ?>
								</div>
							</div>
						</div>
					</li>
		<?php 
    }
    ?>
	</ul>
	<?php 
}
?>
</div>
Example #8
0
            }
            loadSubview('common/item_comment', array('image' => $custom_image, 'user_id' => $user_id, 'username' => $username, 'comment_id' => $comment_id, 'comment' => $comment, 'comment_date' => $comment_date));
        }
    } else {
        if ($_type == 'recook') {
            foreach ($valuesRecipeComment as $key => $value) {
                $user_id = $value['UserID'];
                $username = $value['RecookUserName'];
                $comment_id = $value['RecookCommentID'];
                $comment = $value['RecookCommentDesc'];
                $comment_date = $value['RecookCommentTime'];
                $user_photo = $value['UserPhoto'];
                $path_image = '/resources/images/uploads/users/' . $user_photo;
                $custom_image = $domain . $path_image;
                if (!file_exists($webroot . $path_image)) {
                    $custom_image = $domain . '/resources/images/64x64.png';
                }
                loadSubview('common/item_comment', array('image' => $custom_image, 'user_id' => $user_id, 'username' => $username, 'comment_id' => $comment_id, 'comment' => $comment, 'comment_date' => $comment_date, 'urlDelete' => '/recipe/delete_recook_comment/'));
            }
        }
    }
}
if (!isLoggedIn()) {
    echo tag('a', 'Login untuk mengomentari', array('title' => 'Login', 'data-title' => 'Login', 'href' => $domain . '/users/login', 'class' => 'btn btn-orange mt10 ajax-modal'));
}
?>
				</div>
			</div>
		</div>
	</div>
</div>
Example #9
0
				<div class="wrapper-food-list bg-white wrapper-recipe-contest">
					<?php 
echo tag('h2', $contest_name, array('class' => 'mt10 tacenter'));
?>
					<div class="content mt15">
						<ul id="form-target-holder">
							<?php 
if (!empty($valuesContestRecipe)) {
    foreach ($valuesContestRecipe as $key => $value) {
        $id = $value['RecipeID'];
        $title = $value['RecipeName'];
        $image = $value['PrimaryPhoto'];
        $slug = $value['Slug'];
        $username = $value['UserName'];
        $user_id = $value['UserID'];
        loadSubview('recipe/item_recipe_contest', array('recipe_id' => $id, 'title' => $title, 'image' => $image, 'slug' => $slug, 'username' => $username, 'user_id' => $user_id));
    }
}
?>
						</ul>
					</div>
				</div>
			</div>
			<form id="formLoadMore" selector-target="#form-target-holder" role="form" action="recipe/contest_recipe/<?php 
echo $contest_id;
?>
" class="ajax-form tacenter mb20 disable-overlay ajax-load-more" method="post" accept-charset="utf-8">
				<?php 
echo tag('input', false, array('type' => 'hidden', 'name' => 'next_page', 'value' => $page + 1));
echo tag('input', false, array('type' => 'Submit', 'class' => 'hide'));
?>
Example #10
0
?>
&t=<?php 
echo $slug;
?>
"
								   onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;"
								   target="_blank" title="<?php 
echo lang('share_to_facebook');
?>
">
									<div class="wrapper-inner">
										<?php 
echo tag('span', lang('share_to_facebook'));
?>
									</div>
								</a>
							</div>
						</div>
						<div class="fb-comments" data-href="<?php 
echo 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PATH_INFO'];
?>
" data-numposts="10" data-width="100%"></div>
					</div>
				</div>			
				<?php 
loadSubview('article/item_article');
?>
			</div>
		</div>
	</div>
</div>
Example #11
0
				</div>
			</div>
			<div class="col-sm-7">
				<div class="detail-recipe-content pd15">
					<div class="row">
						<div class="col-sm-12">
							<div class="wrapper" style="font-size: 14px;">
								<?php 
echo tag('p', $recook_desc, array('id' => 'recookDesc', 'class' => 'fs16'));
echo tag('hr', false, array('class' => 'no-mg'));
?>
							</div>
							<div id="comment-container">
								<div class="mt10">
									<?php 
loadSubview('common/background_masker/comment');
?>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<input type="hidden" id="recookId" value="<?php 
echo $recook_id;
?>
" />
Example #12
0
?>

							<div class="tab-content pd10 pt15">
								<div class="tab-pane active" id="tabs-login">
									<?php 
loadSubview('users/login');
?>
								</div>
								<div class="tab-pane" id="tabs-register">
									<?php 
loadSubview('users/register');
?>
								</div>
								<div class="tab-pane" id="tabs-forgot-password">
									<?php 
loadSubview('users/forgot_password');
?>
								</div>
							</div>

							<div class="wrapper-social pd10">
								<div class="wrapper-facebook with-border">
									<a href="#" class="facebook-link">
										<?php 
echo tag('span', lang('login_facebook'), array('class' => 'fbold', 'wrapTag' => 'div', 'wrapAttributes' => array('class' => 'wrapper-inner')));
?>
									</a>
								</div>
							</div>
		      			</div>
		      		</div>
Example #13
0
?>
				</div>
				<div class="col-sm-9">
					<div class="wrapper-right">
						<ul class="nav nav-tabs">
							<?php 
echo tag('a', lang('account'), array('href' => '#tabs-account', 'wrapTag' => 'li', 'wrapAttributes' => array('class' => 'active')));
echo tag('a', lang('password'), array('href' => '#tabs-change-password', 'wrapTag' => 'li'));
?>
						</ul>

						<div class="tab-content pd15">
							<div class="tab-pane active" id="tabs-account">
								<?php 
echo tag('h2', lang('account'));
loadSubview('users/tabs/account');
?>
							</div>
							<div class="tab-pane" id="tabs-change-password">
								<?php 
echo tag('h2', lang('password'));
loadSubview('users/tabs/password');
?>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
Example #14
0
// echo tag('p', '* Maksimum langkah yang dapat dibuat adalah sebanyak 18 langkah', array(
// 	'class' => 'text-orange mb0'
// ));
// echo tag('p', '* Ukuran file maksimum 2MB', array(
// 	'class' => 'text-orange'
// ));
loadSubview('recipe/custom_step', array('type' => 'init', 'counter' => ''));
$counter = 0;
if (!empty($request['FoodProcess'])) {
    foreach ($request['FoodProcess'] as $key => $value) {
        $step = $value['FoodStepName'];
        loadSubview('recipe/custom_step', array('type' => 'load', 'step' => $step, 'counter' => $counter));
        $counter++;
    }
} else {
    loadSubview('recipe/custom_step', array('type' => 'load', 'counter' => $counter));
}
?>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-7 col-sm-offset-2 clone-button cpointer" data-clone="clone-template-step">
						<?php 
echo tag('span', false, array('class' => 'glyphicon glyphicon-plus'));
echo lang('add_step');
?>
					</div>
				</div>
			  	<div class="form-group">
			  		<?php 
echo tag('button', sprintf('%s %s', lang('save'), lang('recipe')), array('class' => 'btn btn-orange', 'type' => 'submit', 'wrapTag' => 'div', 'wrapAttributes' => array('class' => 'col-sm-offset-2 col-sm-2')));
Example #15
0
 function unfollow($user_id = false)
 {
     $message = lang('failed_unfollow');
     $status = 'error';
     if (!empty($user_id) && isLoggedIn()) {
         $resUnfollowUser = $this->db->query('CALL UnfollowUser(?,?)', array($this->session->userdata('userid'), $user_id));
         $resUnfollowUser->next_result();
         loadSubview('common/action_follow', array('user_id_viewer' => $user_id, 'follow_status' => '0'));
     } else {
         loadMessage($message, $status);
         loadSubview('common/action_follow', array('user_id_viewer' => $user_id, 'follow_status' => '1'));
     }
 }
Example #16
0
		<link rel="icon" href="<?php 
echo $domain . '/assets/images/logos/favicon.ico';
?>
" type="image/x-icon">

		<?php 
load_css(array('bootstrap/bootstrap', 'bootstrap/docs', 'custom'));
if (isset($additional_css) && !empty($additional_css)) {
    load_css($additional_css);
}
?>
	</head>
	<body>
		<?php 
loadSubview('header/menu');
if (isset($content_view)) {
    echo $content_view;
}
loadSubview('footer/footer');
echo tag('div', false, array('id' => 'myModal', 'class' => 'modal fade'));
$imageLoading = tag('span', 'Loading...', array('style' => 'width:25px; height:auto; display:block; margin: 0 12px;', 'wrapTag' => 'div', 'wrapAttributes' => array('style' => 'position:absolute; left:47%; top:45%; color:white;')));
echo tag('div', $imageLoading, array('class' => 'overlay'));
/* Load core library first, then load additional script */
load_script(array('jquery/jquery.min', 'bootstrap/bootstrap.min'));
if (isset($additional_js) && !empty($additional_js)) {
    load_script($additional_js);
}
load_script(array('functions'));
?>
	</body>
</html>
?>
">
				<?php 
echo tag('img', false, array('src' => $custom_image, 'wrapTag' => 'div', 'wrapAttributes' => array('class' => 'box-header')));
?>
			</a>
			<div class="box-footer">
				<?php 
echo tag('div', $iconComment . $totalComment, array('class' => 'pull-right mr5', 'title' => 'Jumlah Komentar'));
if ($type != 'recook') {
    echo tag('div', $iconRecook . $totalRecook, array('class' => 'pull-right mr10', 'title' => 'Jumlah Recook'));
}
if ($type != 'recook') {
    echo tag('div', $iconView . $totalView, array('class' => 'pull-right mr10', 'title' => 'Jumlah View'));
}
?>
			</div>
		</div>
		<div class="col-sm-7 right-side">
			<div class="box-description">
				<?php 
echo tag('a', tag('h4', $title, array('class' => 'mb10 title')), array('href' => $url));
echo tag('p', $cuisine, array('class' => 'no-mg stats'));
echo tag('p', $food_type, array('class' => 'stats'));
echo tag('p', $recipe_intro, array('class' => 'mt10 description'));
loadSubview('common/action_bottom_find');
?>
			</div>
		</div>
	</div>
</li>
Example #18
0
 public function unlove_item_recook($recook_id = false, $allow_print = false)
 {
     $message = lang('failed_save_data');
     $status = 'error';
     if (!empty($recook_id)) {
         $message = lang('success_save_data');
         $status = 'success';
         $resLoveRecook = $this->db->query('CALL UnloveRecook(?,?)', array($recook_id, $this->session->userdata('userid')));
         $resLoveRecook->next_result();
         $resRecookHeader = $this->db->query('CALL GetRecookHeader(?,?)', array($recook_id, $this->session->userdata('userid')));
         $valuesRecookHeader = $resRecookHeader->result_array();
         $resRecookHeader->next_result();
         $value = $valuesRecookHeader[0];
         $recipe_id = $value['RecipeID'];
         $slug = $value['Slug'];
         $flag_love = $value['FlagRecookLove'];
         loadSubview('common/action_bottom_find', array('recipe_id' => $recipe_id, 'recook_id' => $recook_id, 'slug' => $slug, 'flag_love' => $flag_love, 'flag_recook' => 1, 'flag_creator' => 1));
     } else {
         loadMessage($message, $status);
     }
 }
Example #19
0
<div class="container">
	<div class="big-wrapper bg-white pd20">
		<?php 
if (isset($alert)) {
    echo $alert;
}
echo tag('h2', 'Login', array('class' => 'tacenter mb10'));
?>
		<div class="wrapper-login">
			<div class="row">
				<div class="col-sm-6 col-sm-offset-3">
					<?php 
loadSubview('users/login', array('direct_link' => true));
?>

					<div class="wrapper-social">
						<div class="wrapper-facebook with-border">
							<a href="#" class="facebook-link">
								<?php 
echo tag('span', 'Sign in with Facebook', array('class' => 'fbold', 'wrapTag' => 'div', 'wrapAttributes' => array('class' => 'wrapper-inner')));
?>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
Example #20
0
																			<td align="left" valign="top">
																				<?php 
echo isset($content_view) ? $content_view : 'content not exists';
?>
																			</td>
																		</tr>
																	</tbody>
																</table>
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</td>
									</tr>
									<?php 
loadSubview('footer/email/footer');
?>
								</tbody>
							</table>
						</td>
					</tr>
				</tbody>
			</table>
		</center>
	</body>
</html>
<?php 
if (isset($params['debug']) && $params['debug'] == 'view') {
    die;
}
Example #21
0
<?php

loadSubview('header/search_box');
?>

<div class="container mt20">
	<div class="big-wrapper">
		<div class="row">
			<div class="col-sm-12">
				<div id="contest" class="wrapper-food-list-vertical">
					<div class="content pd15 tacenter">
						<?php 
echo tag('h2', 'Lomba Masak Kreatif berhadiah Microwave Oven, Stand Mixer, Blender', array('class' => 'mt10 mb20'));
echo tag('img', false, array('src' => $domain . '/resources/images/uploads/poster/poster-lomba.jpg'));
?>
					</div>
					<div class="content custom-pd">
						<?php 
echo tag('p', 'Hai, Cookindo Lovers! Bersamaan dengan launching website, www.cookindo.com mengadakan lomba menulis resep kreatif berhadiah jutaan rupiah loh… Ikutan yuk! Caranya gampang, yaitu: ');
?>
						<ol class="pd10">
							<?php 
echo tag('li', 'Buka www.cookindo.com (cookindo), Pilih menu login.');
echo tag('li', 'Jika belum terdaftar sebagai pengguna cookindo, pilih menu register. Isi data Nama, email kamu yang valid serta password. Jika sudah terisi, tekan register. Anda juga bisa mendaftar dengan account facebook anda dengan menekan tombol sign in with facebook.');
echo tag('li', 'Jika sudah terdaftar, silahkan login dengan email dan password anda.');
echo tag('li', 'Setelah berhasil login, pilih menu Tulis Resep.');
echo tag('li', 'Masukkan resep kreatif yang anda miliki mulai dari judul sampai langkah-langkah membuat resep. Tekan simpan resep jika sudah yakin dengan data yang anda masukkan.');
echo tag('li', 'Jika resep sudah berhasil disimpan, maka resep tersebut akan muncul di menu Resep Saya.');
echo tag('li', 'Anda boleh memasukkan lebih dari 1 resep. Semakin banyak menulis resep maka kesempatan untuk menang semakin besar.');
echo tag('li', 'Pemenang dipilih berdasarkan penilaian dari kami, terutama dari keaslian dan kreasinya.');
echo tag('li', 'Lomba berlaku dari tanggal 13-Maret-2016 pukul 15.00 sampai dengan 14-April-2016 pukul 23.59.');
Example #22
0
						</div>
						<div class="col-sm-4 col-xs-4">
							<div class="tacenter">
								<span class="text-title">Level</span>
								<p class="text-content">
									-
								</p>
							</div>
						</div>
					</div>

					<div id="profile-container" class="wrapper-right mt10">
				        <?php 
loadSubview('common/background_masker/timeline');
?>
					</div>
				</div>
				<div class="col-sm-3">
					<?php 
loadSubview('users/related_popular_users');
?>
				</div>
			</div>
		</div>
	</div>
</div>

<input type="hidden" id="userIdViewer" value="<?php 
echo $user_id_viewer;
?>
" />
Example #23
0
	<div class="big-wrapper">
		<div class="row bg-white no-mg">
			<div class="col-sm-12 no-pd">
				<div id="contest" class="wrapper-food-list-vertical">
					<div class="content">
						<ul>
							<?php 
if (!empty($values)) {
    foreach ($values as $key => $value) {
        $id = $value['ContestID'];
        $slug = $value['Slug'];
        $image = $value['ContestBanner'];
        $title = $value['ContestName'];
        $short_desc = $value['ContestShortDesc'];
        $start_date = $value['ContestStartDate'];
        $end_date = $value['ContestEndDate'];
        $is_active = $value['isActive'];
        $cnt_recipe = $value['TotalRecipe'];
        loadSubview('recipe/item_contest', array('counter' => $key, 'contest_id' => $id, 'slug' => $slug, 'image' => $image, 'title' => $title, 'short_desc' => $short_desc, 'start_date' => $start_date, 'end_date' => $end_date, 'is_active' => $is_active, 'cnt_recipe' => $cnt_recipe));
    }
} else {
    echo tag('h4', 'Pencarian tidak ditemukan', array('wrapTag' => 'li', 'wrapAttributes' => array('class' => 'no-border')));
}
?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
Example #24
0
?>

					<div class="content with-border">
						<ul>
							<?php 
if (!empty($values)) {
    foreach ($values as $key => $value) {
        $id = $value['ArticleID'];
        $image = $value['ArticleImage'];
        $title = $value['ArticleTitle'];
        $slug = $value['Slug'];
        $content = $value['ArticleContent'];
        $date = $value['ArticleDate'];
        loadSubview('pages/item_article', array('article_id' => $id, 'image' => $image, 'title' => $title, 'slug' => $slug, 'content' => $content, 'date' => $date));
    }
} else {
    echo tag('h4', 'Artikel tidak tersedia', array('wrapTag' => 'li', 'wrapAttributes' => array('class' => 'no-border')));
}
?>
						</ul>
					</div>
				</div>
			</div>
			<div class="col-sm-3">
				<?php 
loadSubview('common/sdk');
?>
			</div>
		</div>
	</div>
</div>
Example #25
0
				  	<?php 
    echo tag('button', 'Kirim Komentar', array('class' => 'btn btn-orange', 'type' => 'submit'));
    ?>
				</form>

				<?php 
}
if (!empty($valuesArticleComment)) {
    foreach ($valuesArticleComment as $key => $value) {
        $user_id = $value['UserID'];
        $username = $value['UserName'];
        $comment_id = $value['ArticleCommentID'];
        $comment = $value['Comment'];
        $comment_date = $value['CommentDate'];
        $user_photo = $value['UserPhoto'];
        $path_image = '/resources/images/uploads/users/' . $user_photo;
        $custom_image = $domain . $path_image;
        if (!file_exists($webroot . $path_image)) {
            $custom_image = $domain . '/resources/images/64x64.png';
        }
        loadSubview('common/item_comment', array('image' => $custom_image, 'user_id' => $user_id, 'username' => $username, 'comment_id' => $comment_id, 'comment' => $comment, 'comment_date' => $comment_date, 'urlDelete' => '/pages/delete_article_comment/'));
    }
}
if (!isLoggedIn()) {
    echo tag('a', 'Login untuk mengomentari', array('title' => 'Login', 'data-title' => 'Login', 'href' => $domain . '/users/login', 'class' => 'btn btn-orange mt10 ajax-modal'));
}
?>
			</div>
		</div>
	</div>
</div>