No. That is normall codes. And without copyrights, just copy them. It isn't ilegal. Ilegal is if you are writte that code on your forum like tutorial, and it not your's, etc. No if you are use them and paste for your forum.
Just copy that
Is it solved now?