diff --git a/place/rating.c b/place/rating.c new file mode 100644 index 0000000..add8f82 --- /dev/null +++ b/place/rating.c @@ -0,0 +1,66 @@ +#include +#include +#include + +#define NAME "rating" +#define PRIVATE +#define SECURE +#include + +#define RATING_TITLE "This is a demonstration of psyced's rating tool" +#define RATING_ITEMS 3 +#define RATING_ITEM_HEIGHT 100 +#define DEFAULT_RATING_AMOUNT 5 +#define RATING_UNIFORM_PREFIX "https://www.psyced.org/rating/" + +// hack, should be using w() instead +#define htfs(BLA) write("
"+ BLA +"