From 9b77fc2da593657032554478e035944a11425fb1 Mon Sep 17 00:00:00 2001 From: Onyxcodeotto <110540920+Onyxcodeotto@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:36:57 +0700 Subject: [PATCH] feat: Make publisher for each user --- src/app/components/user/userPage.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/components/user/userPage.php b/src/app/components/user/userPage.php index bcbfdd1..ffdd411 100644 --- a/src/app/components/user/userPage.php +++ b/src/app/components/user/userPage.php @@ -70,9 +70,13 @@ <p class="attribute">Email</p> <p class="content"><?=$this->data->user_data->email?></p> </div> + <button class="publisher-button button white-button btn-approve" data-user_id="<?=$_SESSION['user_id']?>" data-username="<?=$this->data->user_data->username?>">Make Publisher</button> + </div> <!-- <h2>Your Song</h2>--> <!-- --><?php //include(__DIR__."/../template/cardList.php")?> </div> + <script type="text/javascript" src="../../../public/Controller/adminController.js"></script> + </body> </html> \ No newline at end of file -- GitLab