skip to main content

kiesler.at

Random Guide to whatever
updated by rck, 2004-10-10

Another case of trying out the swallow hack 0.2. This time, I'm shuffling some sections around. Enjoy!

0 < n < 100

NOTE: This introduction is for demo purposes only and is current as of the first release of Article Manager. For the most up-to-date version, look under the docs directory. Custom articles - each section can look completely different Define your own article and section templates Admins can allow/deny ability to display external pages in an embedded frame Users can add comments to your article Users can view a list of the articles that they have created Articles keep track of how many times they've been viewed Articles can be set to start showing at a future date Articles can expire on specified dates Articles can be viewed in summary format with a link to the full article MULTI-ARTICLE STORIES with automatic navigation controls! Optimization: Images are stored in multiple directories for faster access A library of approved images can be easily maintained Images can be clickable links with alternate text and photo captions Expired articles can be accessed from a list and re-activated Module settings are easily changeable User-submitted articles can require approval before activation "Also on this site.." Block "Previous n Articles" Block "Most Popular Articles" Block Articles can be set to not show up in the homepage summary listings Articles can be assigned to topic categories Articles can be viewed only by certain groups All of your old Announcements & PageMaster Module content can be imported Automatic rerouting of old mod.php, Announcements & PageMaster links Display a printable version Nothing is saved to disk until you hit "Save Page" "Edit Locking" - Only 1 user can edit a page at a time A "News" page that displays all articles

100 < n < 200

Mezzoblue CSS Zen garden Daves' Beitrag zur CSSifizierung des Webs.

Blue Spark Einfachst-Contentmanagement System auf MS-Informationserver Basis. Nicht mehr weiterentwickelt, weil Dave auf Apache umgestiegen ist.

Modernalus Daves' Portfolio. Einfach ein Wahnsinn.

200 < n < 300

Ich habe für jeden Knoten eine eigene Behandlungsroutine geschrieben, die Folgende ist beispielsweise für die Behandlung von "add"-Befehlen zuständig. Das gezeigte Prinzip sollte aber für so ziemlich alle binären Operationen anwendbar sein.

83 /*              arithmetics
84 */
85 
86 
87 node_add(treenodep a, treenodep b, treenodep dest) {
88 
89         if((a->regnr!=-1) && (b->regnr!=-1)) {
90 
91                 if(is_work_reg(a->regnr))
92                         dest->regnr=a->regnr;
93                 else
94                 if(is_work_reg(b->regnr))
95                         dest->regnr=b->regnr;
96                 else
97                         dest->regnr=alloc_register();
98 
99                 print_add(a->regnr, b->regnr, dest->regnr);
100 
101         } else
102         if(a->regnr!=-1) {
103 
104                 if(is_work_reg(a->regnr)) {
105 
106                         dest->regnr=a->regnr;
107                         print_add_const(a->regnr, b->num, a->regnr);
108 
109                 } else {
110 
111                         dest->regnr=alloc_register();
112                         print_add_const(a->regnr, b->num, dest->regnr);
113                 }
114 
115         } else
116         if(b->regnr!=-1) {
117 
118 
119                 if(is_work_reg(b->regnr)) {
120 
121                         dest->regnr=b->regnr;
122                         print_add_const(b->regnr, a->num, b->regnr);
123 
124                 } else {
125 
126                         dest->regnr=alloc_register();
127                         print_add_const(b->regnr, a->num, dest->regnr);
128                 }
129 
130         } else {
131 
132                 /* herzlichen Dank an Peter / Informatik-Forum
133                    für diese GENIALE Idee! :-) */
134 
135                 if(((a->num+b->num)>-254) &&
136                    ((a->num+b->num)< 255)) {
137 
138                         dest->num=a->num+b->num;
139                         dest->regnr=-1;
140 
141                 } else {
142 
143                         dest->regnr=alloc_register();
144                         print_store_const(a->num, dest->regnr);
145                         print_add_const(dest->regnr, b->num, dest->regnr);
146 
147                 }
148 
149         }
150 }

here you can see some nonsense article. in case it makes sense, it's all fault of Swallow Hack 0.5 for Article Manager!



RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Hacks

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren