<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Farchive%2Fcode%2Ffiles%2Fcat</id>
	<title>VbzCart/archive/code/files/cat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Farchive%2Fcode%2Ffiles%2Fcat"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;action=history"/>
	<updated>2026-06-25T16:41:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=20394&amp;oldid=prev</id>
		<title>Woozle: Woozle moved page VbzCart/code/files/cat to VbzCart/archive/code/files/cat</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=20394&amp;oldid=prev"/>
		<updated>2014-12-19T02:09:18Z</updated>

		<summary type="html">&lt;p&gt;Woozle moved page &lt;a href=&quot;/mw/index.php?title=VbzCart/code/files/cat&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;VbzCart/code/files/cat (page does not exist)&quot;&gt;VbzCart/code/files/cat&lt;/a&gt; to &lt;a href=&quot;/VbzCart/archive/code/files/cat&quot; title=&quot;VbzCart/archive/code/files/cat&quot;&gt;VbzCart/archive/code/files/cat&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:09, 19 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=19064&amp;oldid=prev</id>
		<title>Woozle: note about naming</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=19064&amp;oldid=prev"/>
		<updated>2012-12-20T16:15:02Z</updated>

		<summary type="html">&lt;p&gt;note about naming&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:15, 20 December 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==About==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==About==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Purpose&amp;#039;&amp;#039;&amp;#039;: Generates basic one-to-one catalog pages (one page each per title, department, and supplier)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Purpose&amp;#039;&amp;#039;&amp;#039;: Generates basic one-to-one catalog pages (one page each per title, department, and supplier)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Naming&#039;&#039;&#039;: This is usually an index.php file located in an appropriate folder (vbz.net uses &quot;cat/&quot;).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;History&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;History&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;2009-03-07&amp;#039;&amp;#039;&amp;#039; Copied from actual site; has bugs&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;2009-03-07&amp;#039;&amp;#039;&amp;#039; Copied from actual site; has bugs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=19062&amp;oldid=prev</id>
		<title>Woozle: Woozle moved page VbzCart/code/cat to VbzCart/code/files/cat</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=19062&amp;oldid=prev"/>
		<updated>2012-12-20T16:13:34Z</updated>

		<summary type="html">&lt;p&gt;Woozle moved page &lt;a href=&quot;/mw/index.php?title=VbzCart/code/cat&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;VbzCart/code/cat (page does not exist)&quot;&gt;VbzCart/code/cat&lt;/a&gt; to &lt;a href=&quot;/mw/index.php?title=VbzCart/code/files/cat&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;VbzCart/code/files/cat (page does not exist)&quot;&gt;VbzCart/code/files/cat&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:13, 20 December 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=11454&amp;oldid=prev</id>
		<title>Woozle: New page: ==About== * &#039;&#039;&#039;Purpose&#039;&#039;&#039;: Generates basic one-to-one catalog pages (one page each per title, department, and supplier) * &#039;&#039;&#039;History&#039;&#039;&#039;: ** &#039;&#039;&#039;2009-03-07&#039;&#039;&#039; Copied from actual site; has bu...</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/archive/code/files/cat&amp;diff=11454&amp;oldid=prev"/>
		<updated>2009-03-07T13:28:05Z</updated>

		<summary type="html">&lt;p&gt;New page: ==About== * &amp;#039;&amp;#039;&amp;#039;Purpose&amp;#039;&amp;#039;&amp;#039;: Generates basic one-to-one catalog pages (one page each per title, department, and supplier) * &amp;#039;&amp;#039;&amp;#039;History&amp;#039;&amp;#039;&amp;#039;: ** &amp;#039;&amp;#039;&amp;#039;2009-03-07&amp;#039;&amp;#039;&amp;#039; Copied from actual site; has bu...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==About==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Purpose&amp;#039;&amp;#039;&amp;#039;: Generates basic one-to-one catalog pages (one page each per title, department, and supplier)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;History&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;2009-03-07&amp;#039;&amp;#039;&amp;#039; Copied from actual site; has bugs&lt;br /&gt;
===Bugs===&lt;br /&gt;
2009-03-07&lt;br /&gt;
* http://vbz.net/cat/lb/66141/ dead link (or more correct page)&lt;br /&gt;
* http://vbz.net/cat/lb/66141/ empty&lt;br /&gt;
** the rest of the &amp;quot;Titles with no images&amp;quot; on http://vbz.net/stock/recent/ is good&lt;br /&gt;
* http://vbz.net/cat/zr/bm/5326/ empty&lt;br /&gt;
** the rest of the &amp;quot;Titles with no images&amp;quot; on http://vbz.net/stock/m/ is good&lt;br /&gt;
* http://vbz.net/cat/pw/ws/mme/ empty&lt;br /&gt;
** the rest of the &amp;quot;Titles with no images&amp;quot; on http://vbz.net/stock/l/ is good&lt;br /&gt;
* http://vbz.net/cat/lb/31712/frt-big/ &amp;quot;ordering page&amp;quot; link is broken, and apparently link to it from ordering page is also broken; title quotes with nothing inside&lt;br /&gt;
==Code - index.php==&lt;br /&gt;
&amp;lt;php&amp;gt;&amp;lt;?php&lt;br /&gt;
# PURPOSE: vbz page generator&lt;br /&gt;
# VERSION: /topics/&lt;br /&gt;
&lt;br /&gt;
// CONSTANTS&lt;br /&gt;
// -- KF = boolean flag&lt;br /&gt;
// -- KS = string&lt;br /&gt;
// -- KWP = web path (URL including protocol)&lt;br /&gt;
// -- KFP = file path&lt;br /&gt;
// -- KRP = relative path&lt;br /&gt;
$fltStart = microtime(true);&lt;br /&gt;
// debugging activation&lt;br /&gt;
define(KDO_DEBUG,0);&lt;br /&gt;
define(KDO_DEBUG_STACK,0);&lt;br /&gt;
// debugging options&lt;br /&gt;
define(KDO_DEBUG_HTML,1);&lt;br /&gt;
define(KDO_DEBUG_IMMED,1);&lt;br /&gt;
define(KDO_DEBUG_DARK,0);&lt;br /&gt;
define(KF_USE_WIKI,true);&lt;br /&gt;
define(KF_CART_ABSOLUTE,false);&lt;br /&gt;
/*&lt;br /&gt;
 GET CONNECTED TO LIBRARIES&lt;br /&gt;
*/&lt;br /&gt;
require(&amp;#039;../local.php&amp;#039;);&lt;br /&gt;
require(&amp;#039;site.php&amp;#039;);&lt;br /&gt;
$strLibs .= &amp;#039;:&amp;#039;.KFP_WIKI.&amp;#039;:&amp;#039;.KFP_WIKI.&amp;#039;includes/&amp;#039;;&lt;br /&gt;
ini_set(&amp;#039;include_path&amp;#039;,$strLibs);&lt;br /&gt;
require(&amp;#039;store2.php&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
// GLOBALS&lt;br /&gt;
$fpTools = &amp;#039;/tools&amp;#039;;&lt;br /&gt;
$fpPages = &amp;#039;&amp;#039;;&lt;br /&gt;
$fwpAbsPages = &amp;#039;http://&amp;#039;.KS_PAGE_SERVER.$fpPages;&lt;br /&gt;
$fwpAbsTools = &amp;#039;http://&amp;#039;.KS_TOOLS_SERVER.$fpTools;&lt;br /&gt;
$fwpCart = $fwpAbsPages.&amp;#039;/cart/&amp;#039;;&lt;br /&gt;
$strCurServer = $_ENV[&amp;#039;SERVER_NAME&amp;#039;];&lt;br /&gt;
&lt;br /&gt;
// SET UP DEPENDENT VALUES&lt;br /&gt;
if ($strCurServer != KS_TOOLS_SERVER) {&lt;br /&gt;
  $fpTools = $fwpAbsTools;&lt;br /&gt;
  $fpPages = $fwpAbsPages;&lt;br /&gt;
}&lt;br /&gt;
$fwpLogo = $fpTools.&amp;#039;/img/logos/v/&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
// PROCESS PAGE REQUEST&lt;br /&gt;
$page_uri = $_ENV[&amp;#039;REQUEST_URI&amp;#039;];&lt;br /&gt;
// prepare data objects&lt;br /&gt;
InitData(KS_DB_VBZCART);&lt;br /&gt;
&lt;br /&gt;
// process the request&lt;br /&gt;
$objPage = new clsPageCat();&lt;br /&gt;
$objPage-&amp;gt;GetQuery();&lt;br /&gt;
$objPage-&amp;gt;DoRequest();&lt;br /&gt;
&lt;br /&gt;
if (!$didPage) {&lt;br /&gt;
//  $objPage-&amp;gt;Init(&amp;#039;&amp;#039;,&amp;#039;Unknown page&amp;#039;,&amp;#039;something is messed up&amp;#039;,&amp;#039;browse&amp;#039;,&amp;#039;Houston, we have a problem...&amp;#039;);&lt;br /&gt;
//  $objPage-&amp;gt;DoError();&lt;br /&gt;
}&lt;br /&gt;
if (KDO_DEBUG) {&lt;br /&gt;
	print &amp;quot;DEBUG:&amp;lt;p&amp;gt;&amp;quot;.$debug;&lt;br /&gt;
}&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>