root/ip/tags/release_1_3_0_53/includes/meta_parsing.php

111163
29
		while ($meta_row = $db->sql_fetchrow($result))
29
		while ($meta_row = $db->sql_fetchrow($result))
30
		{
30
		{
31
			$meta_topic_id = $meta_row['topic_id'];
31
			$meta_topic_id = $meta_row['topic_id'];
32
			$meta_row['cat_title'] = strip_tags($meta_row['cat_title']);
32
			$meta_row['cat_title'] = strip_tags(ip_stripslashes($meta_row['cat_title']));
33
			$meta_row['forum_name'] = strip_tags($meta_row['forum_name']);
33
			$meta_row['forum_name'] = strip_tags(ip_stripslashes($meta_row['forum_name']));
34
			$meta_row['topic_title'] = strip_tags($meta_row['topic_title']);
34
			$meta_row['topic_title'] = strip_tags(ip_stripslashes($meta_row['topic_title']));
35
			/*
35
			/*
36
			$meta_description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
36
			$meta_description = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
37
			$page_title = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $page_title;
37
			$page_title = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $page_title;
38
			*/
38
			*/
39
			$meta_description = $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
39
			$meta_description = $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
40
			$page_title = $meta_row['forum_name'] . ' :: ' . $page_title;
40
			$page_title = $meta_row['forum_name'] . ' :: ' . $page_title;
...
...
71
	{
71
	{
72
		while ($meta_row = $db->sql_fetchrow($result))
72
		while ($meta_row = $db->sql_fetchrow($result))
73
		{
73
		{
74
			$meta_row['cat_title'] = strip_tags($meta_row['cat_title']);
74
			$meta_row['cat_title'] = strip_tags(ip_stripslashes($meta_row['cat_title']));
75
			$meta_row['forum_name'] = strip_tags($meta_row['forum_name']);
75
			$meta_row['forum_name'] = strip_tags(ip_stripslashes($meta_row['forum_name']));
76
			$meta_row['topic_title'] = strip_tags($meta_row['topic_title']);
76
			$meta_row['topic_title'] = strip_tags(ip_stripslashes($meta_row['topic_title']));
77
			/*
77
			/*
78
			$meta_description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
78
			$meta_description = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
79
			$page_title = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $page_title;
79
			$page_title = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $page_title;
80
			*/
80
			*/
81
			$meta_description = $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
81
			$meta_description = $meta_row['forum_name'] . ' :: ' . $meta_row['topic_title'];
82
			$page_title = $meta_row['forum_name'] . ' :: ' . $page_title;
82
			$page_title = $meta_row['forum_name'] . ' :: ' . $page_title;
...
...
111
	{
111
	{
112
		while ($meta_row = $db->sql_fetchrow($result))
112
		while ($meta_row = $db->sql_fetchrow($result))
113
		{
113
		{
114
			$meta_row['cat_title'] = strip_tags($meta_row['cat_title']);
114
			$meta_row['cat_title'] = strip_tags(ip_stripslashes($meta_row['cat_title']));
115
			$meta_row['forum_name'] = strip_tags($meta_row['forum_name']);
115
			$meta_row['forum_name'] = strip_tags(ip_stripslashes($meta_row['forum_name']));
116
			/*
116
			/*
117
			$meta_description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'];
117
			$meta_description = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'];
118
			$meta_keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
118
			$meta_keywords = ip_stripslashes($board_config['sitename']) . ', ' . $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
119
			$page_title = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $page_title;
119
			$page_title = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $page_title;
120
			*/
120
			*/
121
			$meta_description = $meta_row['forum_name'];
121
			$meta_description = $meta_row['forum_name'];
122
			$meta_keywords = $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
122
			$meta_keywords = $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
...
...
135
	{
135
	{
136
		while ($meta_row = $db->sql_fetchrow($result))
136
		while ($meta_row = $db->sql_fetchrow($result))
137
		{
137
		{
138
			$meta_row['cat_title'] = strip_tags($meta_row['cat_title']);
138
			$meta_row['cat_title'] = strip_tags(ip_stripslashes($meta_row['cat_title']));
139
			/*
139
			/*
140
			$meta_description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'];
140
			$meta_description = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'];
141
			$meta_keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', ';
141
			$meta_keywords = ip_stripslashes($board_config['sitename']) . ', ' . $meta_row['cat_title'] . ', ';
142
			$page_title = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $page_title;
142
			$page_title = ip_stripslashes($board_config['sitename']) . ' :: ' . $meta_row['cat_title'] . ' :: ' . $page_title;
143
			*/
143
			*/
144
			$meta_description = $meta_row['cat_title'];
144
			$meta_description = $meta_row['cat_title'];
145
			$meta_keywords = $meta_row['cat_title'] . ', ';
145
			$meta_keywords = $meta_row['cat_title'] . ', ';