aboutsummaryrefslogtreecommitdiff
path: root/src/Pages/commissions/commissions.php
blob: 4eade7a44b6ae79e7b82fbbebce6467a1834f43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>256phi | Commissions</title>
    <link rel="stylesheet" href="../../Style/style.css">
    <style>
        .commission-section {
            margin: 30px 0;
            padding: 20px;
            border: 1px solid rgba(255, 0, 255, 0.3);
            background: rgba(10, 0, 25, 0.4);
        }
        .commission-section h2 {
            margin-top: 0;
        }
        .price-table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
        }
        .price-table th,
        .price-table td {
            padding: 10px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 0, 255, 0.2);
        }
        .price-table th {
            color: #ff00ff;
        }
        .do-list li::before {
            content: "[+] ";
            color: #00ff00;
        }
        .dont-list li::before {
            content: "[x] ";
            color: #ff0000;
        }
        .status-open {
            color: #00ff00;
            text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
        }
        .status-closed {
            color: #ff0000;
            text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
        }
        .form-row {
            margin-bottom: 15px;
        }
        .form-row label {
            display: block;
            margin-bottom: 5px;
            color: #00ffff;
        }
        .success-msg {
            padding: 15px;
            background: rgba(0, 255, 0, 0.1);
            border: 1px solid #00ff00;
            color: #00ff00;
            margin-bottom: 20px;
        }
        .error-msg {
            padding: 15px;
            background: rgba(255, 0, 0, 0.1);
            border: 1px solid #ff0000;
            color: #ff0000;
            margin-bottom: 20px;
        }
        .honey { display: none; }
        .email-link {
            font-family: "Courier New", monospace;
            font-size: 14px;
            word-break: break-all;
        }
        .commission-btn {
            display: inline-block;
            padding: 8px 16px;
            font-size: 14px;
            background: transparent;
            border: 1px solid #ff00ff;
            color: #ff00ff;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .commission-btn:hover {
            background: rgba(255, 0, 255, 0.2);
            box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
        }
        .stay-updated {
            text-align: center;
            padding: 20px;
            margin: 20px 0;
            border: 1px dashed rgba(0, 255, 255, 0.4);
            background: rgba(0, 255, 255, 0.05);
        }
        .stay-updated h3 {
            color: #00ffff;
            margin-top: 0;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        .social-links a {
            color: #ff00ff;
            text-decoration: none;
            padding: 8px 16px;
            border: 1px solid rgba(255, 0, 255, 0.5);
            transition: all 0.3s ease;
        }
        .social-links a:hover {
            background: rgba(255, 0, 255, 0.2);
        }
        .size-table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
        }
        .size-table th,
        .size-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 0, 255, 0.2);
        }
        .size-table th {
            color: #ff00ff;
        }
        .size-table td:first-child {
            color: #00ffff;
            font-weight: bold;
        }
        .commission-type {
            display: flex;
            gap: 20px;
            padding: 20px 0;
            border-bottom: 1px solid rgba(255, 0, 255, 0.2);
            align-items: center;
        }
        .commission-type:last-of-type {
            border-bottom: none;
        }
        .commission-type-info {
            flex: 1;
        }
        .commission-type-info h3 {
            color: #00ffff;
            margin: 0 0 8px 0;
        }
        .commission-type-info p {
            margin: 4px 0;
        }
        .commission-type-info .price {
            color: #ff00ff;
            font-weight: bold;
        }
        .commission-type-example {
            flex-shrink: 0;
            width: 150px;
            height: 150px;
        }
        .commission-type-example img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 1px solid rgba(255, 0, 255, 0.3);
        }
        @media (max-width: 500px) {
            .commission-type {
                flex-direction: column;
                text-align: center;
            }
            .commission-type-example {
                width: 120px;
                height: 120px;
            }
        }
    </style>
</head>
<body>
    <canvas id="bg"></canvas>
    <div class="container">
        <h1>COMMISSIONS</h1>
        <p class="subtitle">// request custom artwork</p>

        <p style="text-align: center; font-size: 20px;">
            Status: <span class="status-closed">[ CLOSED ]</span>
        </p>

        <p style="text-align: center;">
            Check out my <a href="/portfolio">portfolio</a> to see examples of my work.
        </p>

        <p style="text-align: center; margin: 20px 0;">
            <a href="#commission-form" class="commission-btn">Commission Me</a>
        </p>

        <!-- STAY UPDATED -->
        <div class="stay-updated">
            <h3>Be the first to know when commissions open</h3>
            <div class="social-links">
                <a href="https://instagram.com/256phi.eu" target="_blank" rel="noopener">Instagram</a>
                <a href="https://tumblr.com/256phi-eu" target="_blank" rel="noopener">Tumblr</a>
                <a href="mailto:noreply@256phi.eu?subject=Subscribe%20to%20Commission%20Updates">Join Mailing List</a>
            </div>
        </div>

        <!-- WHAT I OFFER -->
        <div class="commission-section">
            <h2>What I Offer</h2>
            <ul>
                <li>Unreality / surrealist / dreamcore digital art</li>
                <li>Alt-style pixel art</li>
                <li>Scene illustrations with abstract or vague figures</li>
                <li>Icons, banners, and profile art</li>
            </ul>

            <p style="margin-top: 20px; padding: 15px; border: 1px dashed rgba(255, 255, 0, 0.5); background: rgba(255, 255, 0, 0.05); color: #ffff00;">
                <strong>Important:</strong> My style is intentionally fuzzy, distorted, and dreamlike. Characters can be included in scenes, but they will be stylized like everything else - faces obscured, forms abstracted, details blurred. If you're looking for detailed character portraits with clear features, my style may not be the right fit.<br><br>
                <strong>Please <a href="/portfolio" style="color: #00ffff;">check my portfolio</a> before commissioning to know what to expect.</strong>
            </p>
        </div>

        <!-- SIZES & TYPES -->
        <div class="commission-section">
            <h2>Sizes & Types</h2>
            <p>Priced by scene complexity, not character count. Contact me for a quote.</p>

            <div class="commission-type">
                <div class="commission-type-info">
                    <h3>Icon</h3>
                    <p>Small square image for avatars or profile pictures. Simple composition, minimal elements.</p>
                    <p class="price">Price: N/A</p>
                </div>
                <div class="commission-type-example">
                    <img src="../../Assets/art/warning_existential_hazard.jpg" alt="Icon example" loading="lazy">
                </div>
            </div>

            <div class="commission-type">
                <div class="commission-type-info">
                    <h3>Banner</h3>
                    <p>Wide format for headers, social media banners, or decorative strips. Simple composition, extended canvas.</p>
                    <p class="price">Price: N/A</p>
                </div>
                <div class="commission-type-example">
                    <img src="../../Assets/the_void_is_listening.jpg" alt="Banner example" loading="lazy">
                </div>
            </div>

            <div class="commission-type">
                <div class="commission-type-info">
                    <h3>Half Scene</h3>
                    <p>Partial environment or vignette. Some background elements, moderate detail.</p>
                    <p class="price">Price: N/A</p>
                </div>
                <div class="commission-type-example">
                    <img src="../../Assets/listen_to_the_tv.jpg" alt="Half scene example" loading="lazy">
                </div>
            </div>

            <div class="commission-type">
                <div class="commission-type-info">
                    <h3>Full Scene</h3>
                    <p>Complete environment with atmosphere and composition. Full background, multiple elements working together.</p>
                    <p class="price">Price: N/A</p>
                </div>
                <div class="commission-type-example">
                    <img src="../../Assets/i_forget.jpg" alt="Full scene example" loading="lazy">
                </div>
            </div>

            <div class="commission-type">
                <div class="commission-type-info">
                    <h3>Complex Scene</h3>
                    <p>Intricate illustration with high detail density, multiple focal points, or layered narrative elements.</p>
                    <p class="price">Price: N/A</p>
                </div>
                <div class="commission-type-example">
                    <img src="../../Assets/art/at_the_junction.jpeg" alt="Complex scene example" loading="lazy">
                </div>
            </div>

            <p><em>+ Additional complexity (more elements, tighter details) may cost extra<br>
            + Commercial use costs extra<br>
            + Rush orders available</em></p>
        </div>

        <!-- DO'S -->
        <div class="commission-section">
            <h2>I Will Draw</h2>
            <ul class="do-list">
                <li>Surreal / dreamcore / unreality scenes</li>
                <li>Liminal spaces and strange environments</li>
                <li>Vague humanoid or anthro figures (faces obscured, forms abstracted)</li>
                <li>OCs or characters as part of a scene (stylized, not portrait-focused)</li>
                <li>Vent art and dark / unsettling themes</li>
                <li>Anthro Swim / &ltas&gt aesthetic</li>
                <li>Pixel art icons and scenes</li>
                <li>Abstract or symbolic imagery</li>
            </ul>
        </div>

        <!-- DON'TS -->
        <div class="commission-section">
            <h2>I Will NOT Draw</h2>
            <ul class="dont-list">
                <li>Hateful or discriminatory content</li>
                <li>Real people in compromising situations</li>
		<li>Content depicting minors inappropriately</li>
		<li>Illegal content</li>
            </ul>
        </div>

        <!-- TERMS OF SERVICE -->
        <div class="commission-section">
            <h2>Terms of Service</h2>
            <ul>
                <li><strong>Right to Refuse:</strong> I reserve the right to reject any commission request for any reason</li>
                <li><strong>Payment:</strong> 50% upfront, 50% upon completion</li>
                <li><strong>Turnaround:</strong> 1-2 weeks (depending on complexity)</li>
                <li><strong>Revisions:</strong> Minor revisions included; major changes may cost extra</li>
                <li><strong>Ownership:</strong> Shared rights - both artist and client may use the work</li>
                <li><strong>Credit:</strong> Please credit me when posting the artwork publicly</li>
                <li><strong>AI:</strong> Absolutely NO AI use of my artwork permitted</li>
            </ul>
        </div>

        <!-- CONTACT FORM -->
        <div class="commission-section" id="commission-form">
            <h2>Request a Commission</h2>

            <?php
            $success = false;
            $error = '';

            if ($_SERVER['REQUEST_METHOD'] === 'POST') {
                // Honeypot check
                if (!empty($_POST['website'])) {
                    // Bot detected, silently ignore
                    $success = true;
                } else {
                    $name = htmlspecialchars(trim($_POST['name'] ?? ''), ENT_QUOTES, 'UTF-8');
                    $email = filter_var(trim($_POST['email'] ?? ''), FILTER_SANITIZE_EMAIL);
                    $description = htmlspecialchars(trim($_POST['description'] ?? ''), ENT_QUOTES, 'UTF-8');
                    $budget = htmlspecialchars(trim($_POST['budget'] ?? ''), ENT_QUOTES, 'UTF-8');

                    // Validation
                    if (empty($name) || empty($email) || empty($description)) {
                        $error = 'Please fill in all required fields.';
                    } elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
                        $error = 'Please enter a valid email address.';
                    } elseif (strlen($description) > 5000) {
                        $error = 'Description is too long (max 5000 characters).';
                    } else {
                        // Compose email
                        $to = 'commission@256phi.eu';
                        $subject = "Commission Request from $name";
                        $body = "New commission request:\n\n";
                        $body .= "Name: $name\n";
                        $body .= "Email: $email\n";
                        $body .= "Budget: $budget\n\n";
                        $body .= "Description:\n$description\n";

                        $headers = "From: noreply@256phi.eu\r\n";
                        $headers .= "Reply-To: $email\r\n";
                        $headers .= "Content-Type: text/plain; charset=UTF-8\r\n";

                        if (mail($to, $subject, $body, $headers)) {
                            $success = true;
                        } else {
                            $error = 'Failed to send message. Please try emailing directly.';
                        }
                    }
                }
            }
            ?>

            <?php if ($success): ?>
                <div class="success-msg">
                    Your commission request has been sent. I'll get back to you soon!
                </div>
            <?php elseif ($error): ?>
                <div class="error-msg">
                    <?= $error ?>
                </div>
            <?php endif; ?>

            <?php if (!$success): ?>
            <form method="POST" action="">
                <div class="form-row">
                    <label for="name">Name *</label>
                    <input type="text" id="name" name="name" required maxlength="100"
                           value="<?= htmlspecialchars($_POST['name'] ?? '', ENT_QUOTES, 'UTF-8') ?>">
                </div>

                <div class="form-row">
                    <label for="email">Email *</label>
                    <input type="text" id="email" name="email" required maxlength="200"
                           value="<?= htmlspecialchars($_POST['email'] ?? '', ENT_QUOTES, 'UTF-8') ?>">
                </div>

                <!-- Honeypot -->
                <div class="honey">
                    <label for="website">Website</label>
                    <input type="text" id="website" name="website" tabindex="-1" autocomplete="off">
                </div>

                <div class="form-row">
                    <label for="budget">Budget (optional)</label>
                    <input type="text" id="budget" name="budget" maxlength="100" placeholder="e.g., $30-50"
                           value="<?= htmlspecialchars($_POST['budget'] ?? '', ENT_QUOTES, 'UTF-8') ?>">
                </div>

                <div class="form-row">
                    <label for="description">Describe your commission *</label>
                    <textarea id="description" name="description" required maxlength="5000"
                              placeholder="Tell me about your project: character details, style preferences, etc."><?= htmlspecialchars($_POST['description'] ?? '', ENT_QUOTES, 'UTF-8') ?></textarea>
                </div>

                <button type="submit">Send Request</button>
            </form>
            <?php endif; ?>

            <p style="margin-top: 20px; text-align: center; color: #888;">
                Or email me directly at <a href="mailto:commission@256phi.eu" class="email-link">commission@256phi.eu</a>
            </p>
        </div>

        <footer>
            <p>&copy; 256phi | 2026 | <a href="/home">Home</a> | <a href="/portfolio">Portfolio</a></p>
        </footer>
    </div>

    <script type="module" src="../../Background/main.js"></script>
</body>
</html>